/*
Theme Name: CW Creator Studio Theme
Author: CW Creative Hub
Description: A Patreon-style creator membership and community theme with creator profiles, gated content, supporters, fan engagement, Creator Studio tools, and optional WooCommerce storefront features.
Version: 1.2.71
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cw-creator-showcase
Tags: portfolio, blog, custom-logo, custom-menu, featured-images, full-width-template, theme-options, translation-ready
*/

:root {
  --cw-pink: #ec5f96;
  --cw-pink-dark: #d94782;
  --cw-pink-soft: #fff0f6;
  --cw-pink-pale: #fff8fb;
  --cw-bg: #f4f4f6;
  --cw-card: #ffffff;
  --cw-text: #16161a;
  --cw-muted: #66666f;
  --cw-border: #e7e7eb;
  --cw-shadow: 0 14px 38px rgba(25, 25, 31, 0.07);
  --cw-radius: 22px;
  --cw-radius-small: 14px;
  --cw-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cw-bg);
  color: var(--cw-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--cw-pink-dark); text-decoration: none; }
a:hover, a:focus { color: var(--cw-pink); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip: auto !important;
  clip-path: none;
  display: block;
  height: auto;
  left: 10px;
  padding: 12px 16px;
  top: 10px;
  width: auto;
  z-index: 100000;
  background: #fff;
  color: #000;
  border-radius: 10px;
}

.cw-container {
  width: min(calc(100% - 40px), var(--cw-container));
  margin-inline: auto;
}
.cw-section { padding: 78px 0; }
.cw-section--tight { padding: 48px 0; }
.cw-section-heading { max-width: 720px; margin-bottom: 30px; }
.cw-kicker {
  margin: 0 0 10px;
  color: var(--cw-pink-dark);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  color: var(--cw-text);
  line-height: 1.16;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.45rem, 7vw, 5.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: 1.45rem; }
p { margin-top: 0; }

.cw-button,
button.button,
a.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(180deg, #f36ba2 0%, var(--cw-pink-dark) 100%);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(217, 71, 130, .22);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.cw-button:hover,
button.button:hover,
a.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.wp-element-button:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(217, 71, 130, .28);
}
.cw-button--ghost {
  background: #fff;
  color: var(--cw-text) !important;
  border-color: var(--cw-border);
  box-shadow: none;
}
.cw-button--ghost:hover { color: var(--cw-pink-dark) !important; }
.cw-button--small { min-height: 40px; padding: 9px 16px; font-size: .92rem; }

.cw-announcement {
  background: var(--cw-pink);
  color: #fff;
  text-align: center;
  font-size: .9rem;
  font-weight: 700;
  padding: 8px 16px;
}
.cw-announcement a { color: #fff; text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(231,231,235,.9);
}
.admin-bar .site-header { top: 32px; }
.site-header__inner {
  display: flex;
  align-items: center;
  min-height: 78px;
  gap: 24px;
}
.site-branding { display: flex; align-items: center; gap: 13px; min-width: 0; }
.custom-logo-link { display: inline-flex; }
.custom-logo { max-height: 54px; width: auto; }
.cw-brand-badge {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border: 2px solid #f4a1c1;
  border-radius: 14px;
  background: #fff;
  color: var(--cw-pink-dark);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .06em;
  box-shadow: 0 6px 18px rgba(217,71,130,.1);
}
.site-title { margin: 0; font-size: 1.25rem; font-weight: 900; letter-spacing: -.03em; }
.site-title a { color: var(--cw-pink-dark); }
.site-description { margin: 1px 0 0; color: var(--cw-muted); font-size: .78rem; line-height: 1.35; }

.main-navigation { margin-left: auto; }
.main-navigation ul { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.main-navigation a { color: var(--cw-text); font-weight: 750; font-size: .95rem; }
.main-navigation a:hover { color: var(--cw-pink-dark); }
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--cw-border);
  background: #fff;
  color: var(--cw-text);
}
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.cw-header-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--cw-text);
  border: 1px solid var(--cw-border);
  background: #fff;
}
.cw-cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 20px;
  background: var(--cw-pink);
  color: #fff;
  font-size: .68rem;
  font-weight: 900;
}

.cw-hero { padding: 78px 0 64px; overflow: hidden; }
.cw-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 52px;
  align-items: center;
}
.cw-hero h1 { margin-bottom: 22px; }
.cw-hero h1 span { color: var(--cw-pink); }
.cw-hero__copy > p:not(.cw-kicker) { max-width: 650px; color: var(--cw-muted); font-size: 1.14rem; }
.cw-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cw-hero__micro { margin-top: 18px; color: var(--cw-muted); font-size: .88rem; }
.cw-hero__visual {
  position: relative;
  min-height: 500px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 78% 25%, rgba(255,255,255,.75) 0 10%, transparent 11%),
    linear-gradient(145deg, #ffeaf2, #f9c9dd 52%, #ef7fac);
  box-shadow: 0 24px 70px rgba(217, 71, 130, .22);
}
.cw-hero__visual:before,
.cw-hero__visual:after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,.42);
  filter: blur(1px);
}
.cw-hero__visual:before { width: 180px; height: 180px; right: -30px; top: 38px; }
.cw-hero__visual:after { width: 130px; height: 130px; left: -25px; bottom: 45px; }
.cw-floating-card {
  position: absolute;
  width: min(320px, calc(100% - 44px));
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 18px 40px rgba(60, 20, 38, .14);
}
.cw-floating-card--one { top: 58px; left: 38px; transform: rotate(-4deg); }
.cw-floating-card--two { right: 28px; bottom: 58px; transform: rotate(3deg); }
.cw-floating-card__label { color: var(--cw-pink-dark); font-weight: 900; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; }
.cw-floating-card h3 { margin: 9px 0 7px; }
.cw-floating-card p { color: var(--cw-muted); font-size: .9rem; margin-bottom: 14px; }
.cw-price-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--cw-pink-soft);
  color: var(--cw-pink-dark);
  font-weight: 900;
  font-size: .8rem;
}

.cw-trust-strip { padding: 16px 0 0; }
.cw-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.cw-trust-item {
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--cw-border);
  text-align: center;
  font-weight: 800;
  color: var(--cw-muted);
}

.cw-category-grid,
.cw-how-grid,
.cw-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.cw-category-card,
.cw-how-card,
.cw-post-card {
  position: relative;
  padding: 26px;
  border-radius: var(--cw-radius);
  background: var(--cw-card);
  border: 1px solid var(--cw-border);
  box-shadow: var(--cw-shadow);
}
.cw-category-card { min-height: 230px; overflow: hidden; }
.cw-category-card:after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  right: -25px;
  top: -25px;
  background: var(--cw-pink-soft);
}
.cw-card-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--cw-pink-soft);
  color: var(--cw-pink-dark);
  font-weight: 900;
}
.cw-category-card h3 { margin: 22px 0 10px; }
.cw-category-card p,
.cw-how-card p,
.cw-post-card p { color: var(--cw-muted); }
.cw-category-card a:after { content: " →"; }

.cw-products-section { background: #fff; border-block: 1px solid var(--cw-border); }
.woocommerce ul.products,
ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0 !important;
}
.woocommerce ul.products li.product,
ul.products li.product {
  position: relative;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 14px 14px 18px !important;
  border-radius: var(--cw-radius);
  background: #fff;
  border: 1px solid var(--cw-border);
  box-shadow: var(--cw-shadow);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.woocommerce ul.products li.product:hover,
ul.products li.product:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(25,25,31,.1); }
.woocommerce ul.products li.product a img,
ul.products li.product a img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: 320px;
  margin: 0 0 16px !important;
  padding: 10px;
  border-radius: 16px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: var(--cw-pink-pale);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title {
  padding: 0 !important;
  font-size: 1.14rem !important;
  color: var(--cw-text);
}
.woocommerce ul.products li.product .price,
ul.products li.product .price {
  color: var(--cw-pink-dark) !important;
  font-size: 1.04rem !important;
  font-weight: 900 !important;
}
.woocommerce ul.products li.product .button,
ul.products li.product .button { margin-top: 10px !important; width: 100%; }
.woocommerce span.onsale {
  min-width: 0;
  min-height: 0;
  padding: 7px 11px;
  line-height: 1;
  border-radius: 999px;
  background: var(--cw-pink);
  color: #fff;
  top: 24px;
  left: 24px;
  right: auto;
  font-size: .75rem;
}
.cw-product-badge {
  position: absolute;
  z-index: 3;
  top: 24px;
  right: 24px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.93);
  color: var(--cw-pink-dark);
  border: 1px solid #f5bdd2;
  font-size: .72rem;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(0,0,0,.07);
}

.cw-how-card__number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--cw-pink);
  color: #fff;
  font-weight: 900;
}
.cw-how-card h3 { margin: 18px 0 9px; }

.cw-callout {
  padding: 42px;
  border-radius: 30px;
  background: linear-gradient(135deg, #fff 0%, #fff6fa 45%, #ffe5f0 100%);
  border: 1px solid #f7ccdc;
  box-shadow: var(--cw-shadow);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}
.cw-callout h2 { margin-bottom: 10px; }
.cw-callout p { margin: 0; color: var(--cw-muted); max-width: 760px; }

.site-main { min-height: 50vh; }
.cw-page-header { padding: 58px 0 34px; }
.cw-page-header h1 { font-size: clamp(2.2rem, 5vw, 4.5rem); margin-bottom: 12px; }
.cw-page-header p { color: var(--cw-muted); max-width: 720px; }
.content-area { padding-bottom: 70px; }
.cw-content-card {
  padding: clamp(22px, 4vw, 48px);
  border-radius: var(--cw-radius);
  background: #fff;
  border: 1px solid var(--cw-border);
  box-shadow: var(--cw-shadow);
}
.entry-title { font-size: clamp(2rem, 4vw, 3.5rem); }
.entry-meta { color: var(--cw-muted); font-size: .9rem; margin-bottom: 24px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content img { border-radius: 18px; }
.entry-content blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--cw-pink);
  background: var(--cw-pink-pale);
  border-radius: 0 14px 14px 0;
}

.cw-post-card { padding: 0; overflow: hidden; }
.cw-post-card__image { aspect-ratio: 16/10; background: var(--cw-pink-pale); }
.cw-post-card__image img { width: 100%; height: 100%; object-fit: cover; }
.cw-post-card__body { padding: 22px; }
.cw-post-card__meta { color: var(--cw-pink-dark); font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }

.navigation.pagination { margin-top: 30px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.page-numbers {
  min-width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--cw-border);
  color: var(--cw-text);
}
.page-numbers.current { background: var(--cw-pink); color: #fff; border-color: var(--cw-pink); }

.woocommerce .woocommerce-breadcrumb { color: var(--cw-muted); margin: 24px 0; }
.woocommerce .woocommerce-breadcrumb a { color: var(--cw-pink-dark); }
.woocommerce div.product {
  padding: 28px;
  border-radius: var(--cw-radius);
  background: #fff;
  border: 1px solid var(--cw-border);
  box-shadow: var(--cw-shadow);
}
/* Compact digital-product layout */
.woocommerce div.product div.images {
  width: 34% !important;
  max-width: 360px;
  margin-right: 5% !important;
}

/* Keep WooCommerce/FlexSlider's calculated wrapper and slide widths intact. */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
  margin: 0 !important;
}
.woocommerce div.product div.images .flex-viewport {
  width: 100% !important;
  overflow: hidden !important;
  border-radius: 18px;
  background: #fff;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image {
  text-align: center;
}

/* Before WooCommerce initializes the slider, only the first full image is shown.
   Once initialized, WooCommerce controls all wrapper and slide dimensions. */
.woocommerce-product-gallery:not(.woocommerce-product-gallery--with-images) .woocommerce-product-gallery__image:first-child,
.woocommerce-product-gallery:not(.flexslider) .woocommerce-product-gallery__image:first-child {
  display: block;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image > a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 320px;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image > a > img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 360px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  border-radius: 18px;
  background: #fff;
}
.woocommerce div.product div.images .flex-control-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px !important;
}
.woocommerce div.product div.images .flex-control-thumbs li {
  width: 72px !important;
  float: none !important;
  margin: 0 !important;
}
.woocommerce div.product div.images .flex-control-thumbs img {
  width: 72px !important;
  height: 72px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #fff;
  padding: 4px;
}
.woocommerce div.product div.images .flex-control-thumbs img.flex-active {
  border-color: var(--cw-pink);
}
.woocommerce div.product div.summary {
  width: 61% !important;
}
.woocommerce div.product .product_title { font-size: clamp(2rem, 3.3vw, 3rem); }
@media (max-width: 768px) {
  .woocommerce div.product div.images,
  .woocommerce div.product div.summary {
    width: 100% !important;
    max-width: none;
    margin-right: 0 !important;
  }
  .woocommerce div.product div.images {
    margin-bottom: 24px;
  }
  .woocommerce div.product div.images .woocommerce-product-gallery__image > a {
    min-height: 260px;
  }
  .woocommerce div.product div.images .woocommerce-product-gallery__image > a > img {
    max-width: 100% !important;
    max-height: 280px !important;
    margin-inline: auto !important;
  }
}
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--cw-pink-dark); font-weight: 900; }
.woocommerce div.product form.cart .button { min-height: 50px; }
.woocommerce .quantity .qty {
  min-height: 48px;
  border: 1px solid var(--cw-border);
  border-radius: 12px;
  background: #fff;
}
.cw-digital-note {
  margin: 16px 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--cw-pink-pale);
  border: 1px solid #f6ccdc;
  color: #6a2a45;
  font-weight: 700;
}
.cw-use-once-note { background: #fff9e9; border-color: #f1df9e; color: #6f5410; }
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top: 0 !important;
  border-radius: 14px;
  background: #fff !important;
  box-shadow: var(--cw-shadow);
}
.woocommerce-message:before,
.woocommerce-info:before { color: var(--cw-pink) !important; }
.woocommerce table.shop_table,
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
  border: 1px solid var(--cw-border) !important;
  border-radius: 16px !important;
  background: #fff;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce select,
.select2-container--default .select2-selection--single {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--cw-border);
  border-radius: 12px;
  background: #fff;
}
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 27px; }

.site-footer {
  margin-top: 0;
  background: #fff;
  border-top: 1px solid var(--cw-border);
}
.site-footer__top { padding: 58px 0 32px; }
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: 34px;
}
.site-footer__grid--columns-1 { grid-template-columns: minmax(0, 1fr); }
.site-footer__grid--columns-2 { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.site-footer__grid--columns-3 { grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr)); }
.site-footer__grid--columns-4 { grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr)); }
.site-footer h3, .site-footer h4 { margin-bottom: 13px; }
.site-footer p, .site-footer li { color: var(--cw-muted); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 8px; }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--cw-border);
  color: var(--cw-muted);
  font-size: .9rem;
}

.error-404 { text-align: center; padding: 90px 0; }
.error-404 h1 { color: var(--cw-pink); }

@media (max-width: 1000px) {
  .cw-hero__grid { grid-template-columns: 1fr; }
  .cw-hero__visual { min-height: 440px; }
  .cw-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .cw-category-grid, .cw-how-grid, .cw-post-grid,
  .woocommerce ul.products, ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .site-footer__grid--columns-1 { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid--columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid--columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__grid--columns-4 { grid-template-columns: 1.5fr 1fr 1fr; }
  .site-footer__grid--columns-1 > :last-child,
  .site-footer__grid--columns-2 > :last-child,
  .site-footer__grid--columns-3 > :last-child { grid-column: auto; }
  .site-footer__grid--columns-4 > :last-child { grid-column: 1 / -1; }
  .main-navigation {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: none;
    padding: 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--cw-border);
    box-shadow: var(--cw-shadow);
  }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { flex-direction: column; align-items: flex-start; gap: 14px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .site-header__actions .cw-button { display: none; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

@media (max-width: 680px) {
  .cw-container { width: min(calc(100% - 24px), var(--cw-container)); }
  .cw-section { padding: 54px 0; }
  .site-header__inner { min-height: 70px; gap: 10px; }
  .site-description { display: none; }
  .site-header__actions { gap: 6px; }
  .cw-header-icon { width: 40px; height: 40px; }
  .cw-hero { padding-top: 52px; }
  .cw-hero__visual { min-height: 390px; }
  .cw-floating-card { width: calc(100% - 34px); }
  .cw-floating-card--one { top: 34px; left: 16px; }
  .cw-floating-card--two { right: 16px; bottom: 34px; }
  .cw-trust-grid,
  .cw-category-grid,
  .cw-how-grid,
  .cw-post-grid,
  .woocommerce ul.products,
  ul.products { grid-template-columns: 1fr !important; }
  .cw-callout { grid-template-columns: 1fr; padding: 28px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__grid > :last-child { grid-column: auto; }
  .site-footer__bottom { flex-direction: column; }
  .woocommerce div.product { padding: 18px; }
}


/* Fixed icon-only share bar */
body.cw-has-share-bar { padding-bottom: 90px; }
.acs-share-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  background: #fff;
  border-top: 2px solid #111;
  box-shadow: 0 -10px 30px rgba(0,0,0,.08);
}
.acs-share-bar__inner {
  width: min(calc(100% - 24px), 760px);
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}
.acs-share-bar__buttons {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(8px, 2vw, 18px);
  flex-wrap: nowrap;
}
.acs-share-button {
  width: 58px;
  height: 58px;
  min-width: 58px;
  min-height: 58px;
  aspect-ratio: 1 / 1;
  border: 2px solid #111;
  border-radius: 50%;
  background: #fff;
  color: var(--cw-pink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 58px;
  transition: transform .18s ease, background .18s ease;
}
.acs-share-button:hover,
.acs-share-button:focus {
  background: var(--cw-pink-soft);
  color: var(--cw-pink-dark);
  transform: translateY(-2px);
}
.acs-share-button svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
  flex: 0 0 auto;
}
.acs-share-button span,
.acs-share-bar__label { display: none !important; }
.acs-share-status { position: absolute; left: -9999px; }
@media (max-width: 520px) {
  body.cw-has-share-bar { padding-bottom: 76px; }
  .acs-share-bar__inner { min-height: 68px; padding: 7px 0; }
  .acs-share-bar__buttons { gap: 7px; }
  .acs-share-button {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    flex-basis: 46px;
  }
  .acs-share-button svg { width: 21px; height: 21px; }
}

/* Homepage icon-only circular category menu */
.acs-category-menu {
  padding: 34px 0 46px;
  background: #fff;
  border-bottom: 1px solid var(--cw-border);
}
.acs-category-menu__heading {
  text-align: center;
  margin-bottom: 28px;
}
.acs-category-circles {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 28px);
}
.acs-category-circle {
  width: 132px;
  height: 132px;
  min-width: 132px;
  min-height: 132px;
  aspect-ratio: 1 / 1;
  border: 3px solid #111;
  border-radius: 50%;
  background: #fff;
  color: var(--cw-pink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0;
  margin: 0;
  line-height: 1;
  flex: 0 0 132px;
  box-shadow: 0 10px 26px rgba(17,17,17,.06);
  transition: transform .18s ease, color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.acs-category-circle:hover,
.acs-category-circle:focus {
  color: var(--cw-pink-dark);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(239,92,151,.18);
  background: #fffafd;
}
.acs-category-circle__icon {
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}
.acs-category-circle__icon svg {
  width: 64px;
  height: 64px;
  fill: none;
  stroke: currentColor;
}
.acs-category-circle__icon--text {
  font-size: 1.55rem;
  letter-spacing: .04em;
  font-weight: 900;
}
.acs-category-circle > span:not(.acs-category-circle__icon) { display: none !important; }
@media (max-width: 640px) {
  .acs-category-menu { padding: 26px 0 34px; }
  .acs-category-circles { gap: 14px; }
  .acs-category-circle {
    width: 104px;
    height: 104px;
    min-width: 104px;
    min-height: 104px;
    flex-basis: 104px;
  }
  .acs-category-circle__icon,
  .acs-category-circle__icon svg { width: 48px; height: 48px; }
  .acs-category-circle__icon--text { font-size: 1.25rem; }
}


/* Compact Browse by Category dropdown in the top menu */
.main-navigation {
  display: flex;
  align-items: center;
  gap: 22px;
}
.acs-header-categories {
  position: relative;
  margin: 0;
}
.acs-header-categories summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--cw-text);
  font-size: .92rem;
  font-weight: 800;
  white-space: nowrap;
}
.acs-header-categories summary::-webkit-details-marker { display: none; }
.acs-header-categories summary:hover,
.acs-header-categories[open] summary { color: var(--cw-pink-dark); }
.acs-header-categories__panel {
  position: absolute;
  z-index: 50;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--cw-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--cw-shadow);
}
.acs-header-categories__panel::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translateX(-50%) rotate(45deg);
  background: #fff;
  border-left: 1px solid var(--cw-border);
  border-top: 1px solid var(--cw-border);
}
.acs-header-category {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  aspect-ratio: 1 / 1;
  border: 2px solid #111;
  border-radius: 50%;
  background: #fff;
  color: var(--cw-pink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  flex: 0 0 48px;
  text-decoration: none;
  transition: transform .18s ease, color .18s ease, background .18s ease;
}
.acs-header-category:hover,
.acs-header-category:focus {
  color: var(--cw-pink-dark);
  background: var(--cw-pink-soft);
  transform: translateY(-2px);
}
.acs-header-category svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.acs-header-category--text {
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .02em;
}
@media (max-width: 1000px) {
  .main-navigation {
    display: none;
    align-items: stretch;
  }
  .main-navigation.is-open {
    display: flex;
    flex-direction: column;
  }
  .acs-header-categories {
    width: 100%;
  }
  .acs-header-categories summary {
    width: 100%;
    justify-content: space-between;
    padding: 2px 0;
  }
  .acs-header-categories__panel {
    position: static;
    transform: none;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 12px;
    box-shadow: none;
    border-radius: 14px;
  }
  .acs-header-categories__panel::before { display: none; }
  .acs-header-category {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    flex-basis: 44px;
  }
}


/* 1.6: visible circular category menu in the header (no dropdown) */
.acs-header-category-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.acs-header-category-row .acs-header-category {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  flex: 0 0 40px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 2px solid #111;
  background: #fff;
  color: var(--cw-pink);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.acs-header-category-row .acs-header-category svg {
  width: 18px;
  height: 18px;
}
.acs-header-category-row .acs-header-category--text {
  font-size: .64rem;
  font-weight: 900;
}
.acs-header-category-row .acs-header-category:hover,
.acs-header-category-row .acs-header-category:focus {
  background: var(--cw-pink-soft);
  color: var(--cw-pink-dark);
  transform: translateY(-2px);
}
@media (max-width: 1180px) and (min-width: 1001px) {
  .site-header__inner { gap: 14px; }
  .main-navigation { gap: 14px; }
  .main-navigation ul { gap: 16px; }
  .acs-header-category-row { gap: 6px; }
  .acs-header-category-row .acs-header-category {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    flex-basis: 36px;
  }
}
@media (max-width: 1000px) {
  .acs-header-category-row {
    width: 100%;
    order: -1;
    gap: 10px;
    padding: 10px 0 14px;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .acs-header-category-row .acs-header-category {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    flex-basis: 44px;
  }
}

/* Homepage animation banner */
.acs-animation-banner {
  padding: 18px 0 0;
  background: #f5f5f7;
}
.acs-animation-banner .cw-container {
  max-width: 1380px;
}
.acs-animation-banner__link,
.acs-animation-banner__media {
  display: block;
  width: 100%;
}
.acs-animation-banner__link {
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid #111;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
}
.acs-animation-banner__media {
  max-height: 340px;
  object-fit: cover;
  background: #fff;
}
@media (max-width: 768px) {
  .acs-animation-banner { padding-top: 10px; }
  .acs-animation-banner__link { border-radius: 16px; }
  .acs-animation-banner__media { max-height: 220px; }
}

/* Hero middle animation */
.cw-hero__grid--with-gif {
  grid-template-columns: minmax(0, 1fr) minmax(90px, 210px) minmax(340px, .92fr);
  gap: 28px;
}
.cw-hero__mid-gif {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}
.cw-hero__mid-gif a,
.cw-hero__mid-gif img {
  display: block;
}
.cw-hero__mid-gif a {
  width: min(100%, var(--acs-hero-gif-width, 170px));
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 2px solid #111;
  box-shadow: 0 12px 30px rgba(217, 71, 130, .16);
}
.cw-hero__mid-gif img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
}
.cw-hero__mid-gif > img {
  width: min(100%, var(--acs-hero-gif-width, 170px));
  border-radius: 18px;
  border: 2px solid #111;
  box-shadow: 0 12px 30px rgba(217, 71, 130, .16);
}

@media (max-width: 1100px) {
  .cw-hero__grid--with-gif {
    grid-template-columns: minmax(0, 1fr) minmax(120px, 180px);
  }
  .cw-hero__grid--with-gif .cw-hero__visual {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .cw-hero__grid--with-gif {
    grid-template-columns: 1fr;
  }
  .cw-hero__mid-gif {
    order: 2;
    margin: 4px 0 12px;
  }
  .cw-hero__visual {
    order: 3;
  }
}

/* Product image fit fix: show complete product art instead of cropping it. */
@media (max-width: 768px) {
  .woocommerce ul.products li.product a img,
  ul.products li.product a img {
    max-height: 280px;
    padding: 8px;
  }
}


/* 2.0.2: collapsible share bar */
.acs-share-bar__toggle {
  position: absolute;
  top: -18px;
  right: 18px;
  width: 42px;
  height: 36px;
  border: 2px solid #111;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: #fff;
  color: var(--cw-pink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.acs-share-bar__toggle:hover,
.acs-share-bar__toggle:focus { background: var(--cw-pink-soft); }
.acs-share-bar.is-collapsed .acs-share-bar__inner {
  min-height: 0;
  height: 0;
  padding: 0;
  overflow: hidden;
}
.acs-share-bar.is-collapsed {
  border-top-width: 0;
  box-shadow: none;
  background: transparent;
}
body.cw-has-share-bar.acs-share-collapsed { padding-bottom: 18px; }
.acs-share-bar.is-collapsed .acs-share-bar__toggle {
  top: -36px;
  border-bottom: 2px solid #111;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,.1);
}
@media (max-width: 520px) {
  .acs-share-bar__toggle { right: 10px; }
}


/* 2.0.3: outlined primary text menu links */
.main-navigation > ul.menu,
.main-navigation > .menu {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-navigation > ul.menu > li,
.main-navigation > .menu > li {
  margin: 0;
}
.main-navigation > ul.menu > li > a,
.main-navigation > .menu > li > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 15px;
  border: 2px solid var(--cw-menu-border-color, var(--cw-accent, var(--cw-pink)));
  border-radius: 14px;
  background: #fff;
  color: #111;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.main-navigation > ul.menu > li > a:hover,
.main-navigation > ul.menu > li > a:focus-visible,
.main-navigation > ul.menu > li.current-menu-item > a,
.main-navigation > .menu > li > a:hover,
.main-navigation > .menu > li > a:focus-visible,
.main-navigation > .menu > li.current-menu-item > a {
  background: color-mix(in srgb, var(--cw-accent, var(--cw-pink)) 12%, #fff);
  color: var(--cw-accent, var(--cw-pink-dark));
  transform: translateY(-1px);
}
@media (max-width: 900px) {
  .main-navigation > ul.menu,
  .main-navigation > .menu {
    align-items: stretch;
    flex-direction: column;
  }
  .main-navigation > ul.menu > li > a,
  .main-navigation > .menu > li > a {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Front-end edit shortcuts — visible only to authorized logged-in users. */
.cw-front-edit {
  position: fixed;
  left: 18px;
  bottom: 78px;
  z-index: 99998;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: calc(100vw - 36px);
}
.cw-front-edit__button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border: 2px solid var(--cw-pink);
  border-radius: 999px;
  background: #fff;
  color: #4a4f57;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(217, 71, 130, .22);
}
.cw-front-edit__button:hover,
.cw-front-edit__button:focus {
  background: #f4f5f7;
  border-color: var(--cw-pink);
  color: #343940;
  transform: translateY(-1px);
}
.cw-front-edit__button--secondary {
  background: #fff;
  color: #4a4f57;
}
.cw-front-edit__button--secondary:hover,
.cw-front-edit__button--secondary:focus {
  background: #f4f5f7;
  color: #343940;
}
@media (max-width: 640px) {
  .cw-front-edit {
    left: 10px;
    bottom: 68px;
  }
  .cw-front-edit__button {
    padding: 9px 11px;
    font-size: 12px;
  }
}


/* Compact full-row product marquee */
.acs-hero-marquee {
  width: 100%;
  overflow: hidden;
  padding: 18px 0 22px;
  background: linear-gradient(180deg, #fff 0%, #fff7fb 100%);
  border-top: 1px solid rgba(236,61,141,.18);
  border-bottom: 1px solid rgba(236,61,141,.18);
}
.acs-hero-marquee__viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.acs-hero-marquee__track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: acs-marquee-left var(--acs-marquee-speed, 46s) linear infinite;
  will-change: transform;
}
.acs-hero-marquee:hover .acs-hero-marquee__track,
.acs-hero-marquee:focus-within .acs-hero-marquee__track { animation-play-state: paused; }
.acs-hero-marquee__group { display: flex; gap: 14px; flex-shrink: 0; }
.acs-hero-marquee__card {
  display: grid;
  grid-template-columns: 72px minmax(118px, 1fr);
  align-items: center;
  gap: 11px;
  width: 232px;
  min-height: 88px;
  padding: 9px;
  border: 1px solid rgba(17,17,17,.10);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(40,18,30,.07);
  color: var(--cw-ink, #111);
  text-decoration: none;
}
.acs-hero-marquee__card:hover,
.acs-hero-marquee__card:focus-visible {
  border-color: var(--cw-pink, #ec3d8d);
  transform: translateY(-2px);
}
.acs-hero-marquee__thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff4f8;
}
.acs-hero-marquee__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.acs-hero-marquee__meta { min-width: 0; }
.acs-hero-marquee__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 5px;
  font-size: .92rem;
  line-height: 1.18;
  font-weight: 800;
}
.acs-hero-marquee__price {
  color: var(--cw-pink, #ec3d8d);
  font-size: .82rem;
  font-weight: 800;
}
@keyframes acs-marquee-left {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(calc(-50% - 7px),0,0); }
}
@media (max-width: 640px) {
  .acs-hero-marquee { padding: 14px 0 18px; }
  .acs-hero-marquee__track,
  .acs-hero-marquee__group { gap: 10px; }
  .acs-hero-marquee__card { width: 205px; grid-template-columns: 60px minmax(110px,1fr); min-height: 76px; }
  .acs-hero-marquee__thumb { width: 60px; height: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .acs-hero-marquee__track { animation: none; }
  .acs-hero-marquee__viewport { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
}


/* Client color schemes v1.1.0 */
body.cw-scheme-blue { --cw-pink:#2f7de1; --cw-pink-dark:#1f5fb5; --cw-pink-soft:#e7f1ff; --cw-accent:#2f7de1; }
body.cw-scheme-pink { --cw-pink:#ef5c97; --cw-pink-dark:#e64586; --cw-pink-soft:#ffe6ef; --cw-accent:#ef5c97; }
body.cw-scheme-purple { --cw-pink:#8b5cf6; --cw-pink-dark:#6d3fd8; --cw-pink-soft:#f0e9ff; --cw-accent:#8b5cf6; }
body.cw-scheme-orange { --cw-pink:#f28c28; --cw-pink-dark:#cf6d0f; --cw-pink-soft:#fff0df; --cw-accent:#f28c28; }
body.cw-scheme-black-gray { --cw-pink:#2b2b2b; --cw-pink-dark:#111; --cw-pink-soft:#e7e7e7; --cw-muted:#555; --cw-accent:#2b2b2b; }
body.cw-scheme-rainbow .cw-button,
body.cw-scheme-rainbow .button,
body.cw-scheme-rainbow button:not(.menu-toggle) {
  background:linear-gradient(90deg,#e53935 0%,#f9c80e 18%,#f28c28 36%,#32a852 54%,#2f7de1 72%,#8b5cf6 88%,#ef3f8f 100%);
  color:#fff; border-color:transparent;
}
body.cw-scheme-rainbow h1 span,
body.cw-scheme-rainbow .cw-kicker {
  background:linear-gradient(90deg,#e53935,#f9c80e,#f28c28,#32a852,#2f7de1,#8b5cf6,#ef3f8f);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}


/* Client palette cleanup v1.1.3 */
.cw-hero__visual {
  background: #d9dadd;
  border-color: #c8c9cd;
}
.cw-hero__visual::before,
.cw-hero__visual::after {
  background: rgba(255,255,255,.42);
}
.cw-floating-card {
  background: #f7f7f8;
  border-color: #c9cacf;
}

/* Non-pink presets use only their selected palette plus neutral gray. */
body.cw-scheme-blue,
body.cw-scheme-purple,
body.cw-scheme-orange,
body.cw-scheme-black-gray {
  --cw-pink-pale: var(--cw-pink-soft);
}
body.cw-scheme-blue .cw-hero__visual,
body.cw-scheme-purple .cw-hero__visual,
body.cw-scheme-orange .cw-hero__visual,
body.cw-scheme-black-gray .cw-hero__visual {
  background: #d9dadd;
  border-color: #c8c9cd;
}
body.cw-scheme-blue .cw-floating-card,
body.cw-scheme-purple .cw-floating-card,
body.cw-scheme-orange .cw-floating-card,
body.cw-scheme-black-gray .cw-floating-card {
  background: #f5f5f6;
  border-color: #c7c8cc;
}
body.cw-scheme-blue .cw-price-pill,
body.cw-scheme-purple .cw-price-pill,
body.cw-scheme-orange .cw-price-pill,
body.cw-scheme-black-gray .cw-price-pill,
body.cw-scheme-blue .cw-post-card,
body.cw-scheme-purple .cw-post-card,
body.cw-scheme-orange .cw-post-card,
body.cw-scheme-black-gray .cw-post-card,
body.cw-scheme-blue .woocommerce-info,
body.cw-scheme-purple .woocommerce-info,
body.cw-scheme-orange .woocommerce-info,
body.cw-scheme-black-gray .woocommerce-info {
  border-color: var(--cw-pink);
}
body.cw-scheme-blue input:focus,
body.cw-scheme-blue textarea:focus,
body.cw-scheme-blue select:focus,
body.cw-scheme-purple input:focus,
body.cw-scheme-purple textarea:focus,
body.cw-scheme-purple select:focus,
body.cw-scheme-orange input:focus,
body.cw-scheme-orange textarea:focus,
body.cw-scheme-orange select:focus,
body.cw-scheme-black-gray input:focus,
body.cw-scheme-black-gray textarea:focus,
body.cw-scheme-black-gray select:focus {
  border-color: var(--cw-pink);
  box-shadow: 0 0 0 3px var(--cw-pink-soft);
}


/* 1.1.5 creation-focused homepage */
.cwcs-creation-home { background: #f4f4f6; }
.cwcs-center-banner { padding: 34px 0 42px; background: #f4f4f6; }
.cwcs-center-banner__media {
  width: min(100%, var(--cwcs-banner-width, 240px));
  margin: 0 auto;
  text-align: center;
}
.cwcs-center-banner__media a { display: block; }
.cwcs-center-banner__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(0,0,0,.10);
}
.cwcs-center-banner__caption {
  margin: 12px 0 0;
  color: var(--cw-muted, #666);
  font-weight: 700;
  font-size: .95rem;
}
.cwcs-home-page-content { padding-bottom: 60px; }
.cwcs-creation-home .cwcs-home-creations--rows { padding-top: 18px; }
@media (max-width: 700px) {
  .cwcs-center-banner { padding: 22px 12px 30px; }
  .cwcs-center-banner__media { width: min(88vw, var(--cwcs-banner-width, 240px)); }
}


/* 1.1.6 discovery header, avatar, optional commerce */
.cwcs-discovery-navigation { margin-left: auto; margin-right: auto; }
.cwcs-discovery-menu { display: flex; align-items: center; justify-content: center; gap: 10px; }
.cwcs-discovery-menu a {
  display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 8px 13px;
  border-radius: 999px; background: rgba(255,255,255,.75); border: 1px solid var(--cw-line);
  color: var(--cw-text); font-weight: 800; text-decoration: none;
}
.cwcs-discovery-menu a:hover, .cwcs-discovery-menu a:focus-visible { color: var(--cw-accent, var(--cw-pink-dark)); transform: translateY(-1px); }
.cwcs-discovery-icon { font-size: 1.05rem; line-height: 1; }
.cwcs-user-avatar { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; display: inline-flex; border: 2px solid var(--cw-accent, var(--cw-pink)); box-shadow: 0 5px 15px rgba(0,0,0,.08); }
.cwcs-user-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 960px) {
  .cwcs-discovery-navigation { order: 4; width: 100%; display: none; }
  .cwcs-discovery-navigation.is-open { display: block; }
  .cwcs-discovery-menu { flex-wrap: wrap; padding: 12px 0 4px; }
  .cwcs-discovery-menu a { flex: 1 1 100px; justify-content: center; }
}


/* v1.1.8: assigned WordPress menu above discovery links */
.cwcs-discovery-navigation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.cwcs-assigned-menu-wrap { width: 100%; }
.cwcs-assigned-menu-wrap .menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cwcs-assigned-menu-wrap .menu > li { margin: 0; }
.cwcs-assigned-menu-wrap .menu > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--cw-text);
  font-weight: 800;
  text-decoration: none;
}
.cwcs-assigned-menu-wrap .menu > li > a:hover,
.cwcs-assigned-menu-wrap .menu > li.current-menu-item > a {
  color: var(--cw-accent, var(--cw-pink-dark));
  background: var(--cw-pink-soft);
}
.cwcs-discovery-menu { order: 2; }
@media (max-width: 900px) {
  .cwcs-assigned-menu-wrap .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .cwcs-assigned-menu-wrap .menu > li > a {
    justify-content: center;
    width: 100%;
  }
}


/* v1.1.9: keep the assigned/custom menu visible at the top of the header */
.site-header__inner {
  flex-wrap: wrap;
}
.cwcs-discovery-navigation {
  min-width: 320px;
  max-width: 100%;
  flex: 1 1 420px;
}
.cwcs-assigned-menu-wrap {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  order: 1;
}
.cwcs-assigned-menu-wrap .menu {
  display: flex !important;
}
.cwcs-discovery-menu {
  order: 2;
}
@media (min-width: 961px) {
  .cwcs-discovery-navigation {
    display: flex !important;
  }
}
@media (max-width: 960px) {
  .cwcs-discovery-navigation.is-open .cwcs-assigned-menu-wrap {
    display: block !important;
  }
}


/* v1.2.0: mobile header, assigned menu, discovery alignment, member admin cleanup */
@media (max-width: 960px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 9995;
  }
  body:not(.admin-bar) .site-header { top: 0; }
  .site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    min-height: 76px;
    padding-top: 8px;
    padding-bottom: 8px;
    flex-wrap: nowrap;
  }
  .site-branding {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }
  .site-branding .custom-logo-link {
    display: flex;
    align-items: center;
    max-width: 100%;
  }
  .site-branding .custom-logo {
    width: auto;
    max-width: min(220px, 58vw);
    max-height: 62px;
    object-fit: contain;
  }
  .menu-toggle {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 16px;
    flex: 0 0 auto;
  }
  .site-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
  }
  .cwcs-user-avatar,
  .cw-header-icon.cwcs-login-icon {
    width: 48px;
    height: 48px;
  }
  .main-navigation.cwcs-discovery-navigation {
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 6px);
    width: auto;
    min-width: 0;
    max-width: none;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 18px 45px rgba(15,23,42,.18);
    border: 1px solid var(--cw-line, #e5e7eb);
    align-items: stretch;
    gap: 12px;
  }
  .cwcs-discovery-navigation.is-open {
    display: flex !important;
  }
  .cwcs-assigned-menu-wrap {
    width: 100%;
    order: 1;
  }
  .cwcs-assigned-menu-wrap .menu {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }
  .cwcs-assigned-menu-wrap .menu > li,
  .cwcs-assigned-menu-wrap .menu > li > a {
    width: 100%;
  }
  .cwcs-assigned-menu-wrap .menu > li > a {
    min-height: 46px;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 16px;
    background: var(--cw-pink-soft, #ffe5f0);
    color: var(--cw-accent, #ec4899);
    font-weight: 900;
  }
  .cwcs-discovery-menu {
    order: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 8px;
    width: 100%;
    padding: 0;
  }
  .cwcs-discovery-menu a {
    min-width: 0;
    min-height: 48px;
    padding: 9px 6px;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    border-radius: 14px;
    gap: 5px;
    font-size: .92rem;
  }
  .cwcs-discovery-icon { font-size: 1rem; }
}

@media (max-width: 430px) {
  .cw-container.site-header__inner {
    width: min(calc(100% - 16px), var(--cw-container));
  }
  .site-branding .custom-logo {
    max-width: min(200px, 54vw);
    max-height: 56px;
  }
  .menu-toggle,
  .cwcs-user-avatar,
  .cw-header-icon.cwcs-login-icon {
    width: 44px;
    height: 44px;
  }
  .main-navigation.cwcs-discovery-navigation {
    left: 8px;
    right: 8px;
    padding: 12px;
  }
  .cwcs-discovery-menu { gap: 6px; }
  .cwcs-discovery-menu a {
    min-height: 46px;
    padding: 8px 4px;
    font-size: .84rem;
  }
}

/* v1.2.12: keep the desktop Studio navigation beside the brand instead of
   leaving a tall empty row beneath it. */
@media (min-width: 961px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto minmax(240px, 1fr);
    align-items: center;
    min-height: 0;
    gap: 4px 18px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .site-branding {
    grid-column: 1;
    grid-row: 1;
  }
  .main-navigation.cwcs-discovery-navigation {
    grid-column: 2;
    grid-row: 1;
    width: max-content;
    min-width: 0;
    margin: 0;
    align-self: center;
    gap: 4px;
  }
  .site-header__actions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    margin-left: 0;
  }
  .cwcs-discovery-menu { gap: 8px; }
  .cwcs-discovery-menu a {
    min-height: 36px;
    padding: 6px 11px;
  }
  .cwcs-desktop-studio-menu a {
    min-height: 30px;
    padding: 6px 12px;
  }
}

/* v1.2.1: mobile creation shortcuts stay in one compact row. */
.cwcs-mobile-quick-row { display: none; }
@media (max-width: 960px) {
  .cwcs-mobile-quick-row {
    display: flex;
    width: 100%;
    gap: 6px;
    padding: 5px 8px 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    background: #fff;
    border-top: 1px solid var(--cw-line, #ececf0);
  }
  .cwcs-mobile-quick-row::-webkit-scrollbar { display: none; }
  .cwcs-mobile-quick-row a {
    flex: 1 0 auto;
    min-width: max-content;
    padding: 8px 10px;
    border: 1px solid var(--cw-border, #e7d5de);
    border-radius: 999px;
    background: var(--cw-pink-soft, #fff0f6);
    color: var(--cw-pink-dark, #b81862);
    text-align: center;
    text-decoration: none;
    font-size: .76rem;
    font-weight: 900;
    line-height: 1;
  }
  .cwcs-discovery-navigation .cwcs-discovery-menu { display: none; }
}

/* v1.2.4: editor shortcuts belong directly below the mobile logo/header. */
.cwcs-mobile-studio-strip { display: none; }
@media (max-width: 960px) {
  .cwcs-mobile-quick-row { display: none !important; }
  .cwcs-mobile-studio-strip {
    display: block;
    background: #fff;
    border-top: 1px solid var(--cw-line, #ececf0);
    border-bottom: 1px solid var(--cw-line, #ececf0);
  }
  .cwcs-mobile-studio-strip__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding-top: 7px;
    padding-bottom: 7px;
  }
  .cwcs-mobile-studio-strip a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 36px;
    padding: 7px 6px;
    border: 1px solid var(--cw-border, #e7d5de);
    border-radius: 10px;
    background: var(--cw-pink-soft, #fff0f6);
    color: var(--cw-pink-dark, #b81862);
    text-align: center;
    text-decoration: none;
    font-size: .77rem;
    font-weight: 900;
    line-height: 1.05;
  }
  .cwcs-discovery-navigation .cwcs-assigned-menu-wrap { display: none !important; }
  .cwcs-discovery-navigation .cwcs-discovery-menu {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    padding: 0;
    gap: 6px;
  }
  .cwcs-discovery-navigation .cwcs-discovery-menu a {
    min-height: 37px;
    padding: 7px 4px;
    font-size: .76rem;
    border-radius: 10px;
  }
  .main-navigation.cwcs-discovery-navigation {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    max-height: none;
    overflow: visible;
    padding: 8px;
    gap: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
}

/* v1.2.8: centered, balanced cards for footer widgets with a promo image. */
.site-footer__column .footer-widget:has(img),
.site-footer__column .footer-widget.cw-footer-promo {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 320px);
  margin: 0 auto 20px;
  padding: 24px 22px;
  gap: 18px;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(145deg, #fff 0%, var(--cw-pink-pale, #fff8fb) 100%);
  border: 1px solid rgba(236, 95, 150, .30);
  border-color: color-mix(in srgb, var(--cw-pink, #ec5f96) 30%, white);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(28, 20, 26, .08);
}
.site-footer__column .footer-widget:has(img) > *,
.site-footer__column .footer-widget.cw-footer-promo > * {
  width: 100%;
  margin: 0;
}
.site-footer__column .footer-widget:has(img) :is(h1, h2, h3, h4, h5, h6, .widget-title),
.site-footer__column .footer-widget.cw-footer-promo :is(h1, h2, h3, h4, h5, h6, .widget-title) {
  margin: 0;
  color: var(--cw-text);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.3;
  text-align: center;
}
.site-footer__column .footer-widget:has(img) p,
.site-footer__column .footer-widget.cw-footer-promo p {
  margin: 0;
  text-align: center;
}
.site-footer__column .footer-widget:has(img) img,
.site-footer__column .footer-widget.cw-footer-promo img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 190px);
  max-height: 160px;
  margin: 0 auto;
  object-fit: contain;
}
/* Image promos keep the title at the top, art in the middle, and CTA at the bottom. */
.site-footer__column .footer-widget:has(img) {
  min-height: 334px;
}
.site-footer__column .footer-widget > :is(p, figure, .wp-block-image):has(img) {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-height: 144px;
}
.site-footer__column .footer-widget:has(img) > p:last-child {
  margin-top: auto;
}
/* Only a stand-alone final link becomes a small CTA; footer link lists stay plain links. */
.site-footer__column .footer-widget:has(img) > p:last-child > a:only-child,
.site-footer__column .footer-widget:has(img) > a:last-child,
.site-footer__column .footer-widget.cw-footer-promo > p:last-child > a:only-child,
.site-footer__column .footer-widget.cw-footer-promo > a:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(236, 95, 150, .34);
  border-color: color-mix(in srgb, var(--cw-pink, #ec5f96) 38%, white);
  border-radius: 999px;
  background: #fff;
  color: var(--cw-pink-dark);
  font-size: .94rem;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}
.site-footer__column .footer-widget:has(img) > p:last-child > a:only-child:hover,
.site-footer__column .footer-widget:has(img) > p:last-child > a:only-child:focus-visible,
.site-footer__column .footer-widget:has(img) > a:last-child:hover,
.site-footer__column .footer-widget:has(img) > a:last-child:focus-visible,
.site-footer__column .footer-widget.cw-footer-promo > p:last-child > a:only-child:hover,
.site-footer__column .footer-widget.cw-footer-promo > p:last-child > a:only-child:focus-visible,
.site-footer__column .footer-widget.cw-footer-promo > a:last-child:hover,
.site-footer__column .footer-widget.cw-footer-promo > a:last-child:focus-visible {
  background: var(--cw-pink-soft);
  color: var(--cw-pink-dark);
}
@media (max-width: 680px) {
  .site-footer__column .footer-widget:has(img),
  .site-footer__column .footer-widget.cw-footer-promo {
    width: min(100%, 340px);
    min-height: 0;
    padding: 21px 18px;
  }
  .site-footer__column .footer-widget:has(img) { min-height: 292px; }
  .site-footer__column .footer-widget > :is(p, figure, .wp-block-image):has(img) { min-height: 124px; }
  .site-footer__column .footer-widget:has(img) img,
  .site-footer__column .footer-widget.cw-footer-promo img {
    max-width: min(100%, 170px);
    max-height: 140px;
  }
}

/* v1.2.9: desktop Creator Studio links sit directly below Popular, Hot, and New. */
.cwcs-desktop-studio-menu {
  order: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cwcs-desktop-studio-menu li { margin: 0; }
.cwcs-desktop-studio-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid var(--cw-border, #e7e7eb);
  border-radius: 999px;
  background: var(--cw-pink-soft, #fff0f6);
  color: var(--cw-pink-dark, #d94782);
  font-size: .82rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.cwcs-desktop-studio-menu a:hover,
.cwcs-desktop-studio-menu a:focus-visible {
  background: var(--cw-pink, #ec5f96);
  color: #fff;
  transform: translateY(-1px);
}
/* Keep a landscape tablet header calm: branding and account controls remain
   on the first line, while the discovery and studio rows use the full width. */
@media (min-width: 961px) and (max-width: 1180px) {
  .site-header__inner {
    min-height: auto;
    row-gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .site-header__actions { margin-left: auto; }
  .cwcs-discovery-navigation {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    margin-inline: 0;
  }
  .cwcs-discovery-menu { gap: 8px; }
  .cwcs-desktop-studio-menu { gap: 7px; }
}
/* Phone and narrow-tablet links remain in the established strip under the logo. */
@media (max-width: 960px) {
  .cwcs-desktop-studio-menu { display: none !important; }
}

/* v1.2.10: on phones, discovery sits directly under the brand and the
   existing Image Editor / Coloring Book strip follows immediately after it. */
@media (max-width: 960px) {
  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    min-height: 0;
    gap: 6px 8px;
    padding-top: 8px;
    padding-bottom: 0;
  }
  .site-branding {
    grid-column: 1;
    grid-row: 1;
  }
  .menu-toggle { display: none !important; }
  .site-header__actions {
    grid-column: 2;
    grid-row: 1;
    margin-left: 0;
  }
  .main-navigation.cwcs-discovery-navigation {
    display: flex !important;
    grid-column: 1 / -1;
    grid-row: 2;
    position: static;
    width: 100%;
    min-width: 0;
    max-height: none;
    margin: 0;
    padding: 0 0 7px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .cwcs-discovery-navigation .cwcs-assigned-menu-wrap { display: none !important; }
  .cwcs-discovery-navigation .cwcs-discovery-menu {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    width: 100%;
    padding: 0;
    gap: 6px;
  }
  .cwcs-discovery-navigation .cwcs-discovery-menu a {
    min-height: 36px;
    padding: 7px 4px;
    justify-content: center;
  }
}
@media (max-width: 430px) {
  .site-header__inner { gap: 5px 7px; }
  .cwcs-discovery-navigation .cwcs-discovery-menu { gap: 5px; }
  .cwcs-discovery-navigation .cwcs-discovery-menu a {
    min-height: 34px;
    padding-inline: 3px;
    font-size: .74rem;
  }
}


/* v1.2.13: the final logo dimensions are emitted from Header Branding.
   These selectors keep static theme defaults from winning the cascade. */
.site-branding .custom-logo-link img.custom-logo {
  width: auto;
  height: auto;
}


/* 1.2.16 — media-only three-feature homepage hero */
.cwcs-feature-hero {
  padding: clamp(18px, 3vw, 38px) 0 clamp(14px, 2.5vw, 30px);
}
.cwcs-feature-media-grid {
  display: grid;
  grid-template-columns: repeat(var(--cwcs-feature-count, 3), minmax(0, 1fr));
  gap: clamp(10px, 1.7vw, 24px);
  align-items: stretch;
}
.cwcs-feature-media {
  min-width: 0;
  height: var(--cwcs-feature-height, 360px);
  overflow: hidden;
  background: transparent;
}
.cwcs-feature-media > a,
.cwcs-feature-media > img {
  display: block;
  width: 100%;
  height: 100%;
}
.cwcs-feature-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: var(--cwcs-feature-fit, contain);
  object-position: center;
  background: transparent;
}
.cwcs-feature-media a:focus-visible {
  outline: 3px solid var(--cw-pink);
  outline-offset: 4px;
}
@media (max-width: 820px) {
  .cwcs-feature-media-grid {
    grid-template-columns: 1fr;
  }
  .cwcs-feature-media {
    height: min(72vw, var(--cwcs-feature-height, 360px));
    min-height: 220px;
  }
}


/* 1.2.17 — configurable header, feature-grid, and full-page backgrounds.
   Customizer choices are emitted as inline CSS after this stylesheet so
   original animated GIF files remain available as CSS backgrounds. */
.site-header,
.cwcs-feature-hero,
body {
  background-origin: border-box;
}


/* 1.2.18 — compact transparent footer widget cards. */
.site-footer {
  background: transparent;
  border-top: 0;
}
.site-footer__top {
  width: 100%;
  max-width: 980px;
  padding: 20px 20px 14px;
}
.site-footer__grid {
  justify-content: center;
  align-items: start;
  gap: 18px;
}
.site-footer__grid--columns-1 {
  width: min(100%, 360px);
  margin-inline: auto;
}
.site-footer__grid--columns-2 {
  width: min(100%, 700px);
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.site-footer__grid--columns-3 {
  width: min(100%, 920px);
  margin-inline: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.site-footer__column {
  min-width: 0;
}
.site-footer__column .footer-widget:has(img),
.site-footer__column .footer-widget.cw-footer-promo {
  width: min(100%, 280px);
  min-height: 0;
  margin: 0 auto;
  padding: 14px;
  gap: 10px;
  background: rgba(255, 255, 255, .48);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(28, 20, 26, .08);
  -webkit-backdrop-filter: blur(12px) saturate(115%);
  backdrop-filter: blur(12px) saturate(115%);
}
.site-footer__column .footer-widget:has(img) > *,
.site-footer__column .footer-widget.cw-footer-promo > * {
  margin: 0;
}
.site-footer__column .footer-widget > :is(p, figure, .wp-block-image):has(img) {
  flex: 0 0 auto;
  min-height: 0;
}
.site-footer__column .footer-widget:has(img) img,
.site-footer__column .footer-widget.cw-footer-promo img {
  max-width: min(100%, 132px);
  max-height: 112px;
}
.site-footer__column .footer-widget:has(img) > p:last-child,
.site-footer__column .footer-widget.cw-footer-promo > p:last-child {
  margin-top: 2px;
}
.site-footer__bottom {
  width: min(100% - 40px, 980px);
  padding: 12px 0 16px;
  background: transparent;
}
@media (max-width: 760px) {
  .site-footer__top {
    padding: 14px 14px 10px;
  }
  .site-footer__grid--columns-2,
  .site-footer__grid--columns-3,
  .site-footer__grid--columns-4 {
    width: min(100%, 360px);
    grid-template-columns: 1fr;
  }
  .site-footer__column .footer-widget:has(img),
  .site-footer__column .footer-widget.cw-footer-promo {
    width: min(100%, 300px);
    padding: 13px;
  }
}


/* v1.2.20 visual footer cards */
.site-footer__column .cw-footer-visual-card {
  width: min(100%, 280px);
  margin: 0 auto;
  padding: 14px;
  background: rgba(255, 255, 255, .48);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(28, 20, 26, .08);
  -webkit-backdrop-filter: blur(12px) saturate(115%);
  backdrop-filter: blur(12px) saturate(115%);
}
.site-footer__column .cw-footer-visual-card > :first-child,
.site-footer__column .cw-footer-visual-content > :first-child { margin-top: 0; }
.site-footer__column .cw-footer-visual-card > :last-child,
.site-footer__column .cw-footer-visual-content > :last-child { margin-bottom: 0; }
.site-footer__column .cw-footer-visual-content img {
  display: block;
  width: auto;
  max-width: min(100%, 132px);
  max-height: 112px;
  height: auto;
  margin: 0 auto 10px;
  object-fit: contain;
  border-radius: 12px;
}
.site-footer__column .cw-footer-visual-content figure { margin: 0 0 10px; }
.site-footer__column .cw-footer-visual-content p { margin: 0 0 10px; }
.site-footer__column .cw-footer-visual-content a { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .site-footer__column .cw-footer-visual-card { width: min(100%, 300px); padding: 13px; }
}

/* 1.2.21 — social video posts and homepage-style post comments */
.cwcs-social-video-section {
  padding: 34px 0 14px;
}
.cwcs-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
}
.cwcs-section-heading .cw-kicker,
.cwcs-section-heading h2 {
  margin: 0;
}
.cwcs-section-heading h2 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.08;
}
.cwcs-social-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.cwcs-social-video-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--cw-pink) 16%, #d9d9e2);
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 36px rgba(26,18,34,.08);
}
.cwcs-social-video-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}
.cwcs-social-video-card__header h3 {
  min-width: 0;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}
.cwcs-social-video-card__header h3 a {
  color: inherit;
  text-decoration: none;
}
.cwcs-social-video-comments-link {
  flex: 0 0 auto;
  color: var(--cw-pink-dark);
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
}
.cwcs-social-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d0b10;
}
.cwcs-social-player.is-instagram,
.cwcs-social-player.is-tiktok {
  aspect-ratio: 4 / 5;
  max-height: 760px;
}
.cwcs-social-player iframe,
.cwcs-social-player > blockquote,
.cwcs-social-player > div,
.cwcs-social-player .wp-video,
.cwcs-social-player video {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border: 0;
}
.cwcs-social-player-fallback {
  min-height: 280px;
  display: grid;
  place-content: center;
  gap: 14px;
  padding: 28px;
  text-align: center;
  background: radial-gradient(circle at top right, color-mix(in srgb, var(--cw-pink) 55%, transparent), transparent 42%), #17121b;
  color: #fff;
}
.cwcs-social-player-fallback p {
  margin: 0;
}
.cwcs-single-social-video {
  margin: 0 0 28px;
  overflow: hidden;
  border-radius: 22px;
}

.cwcs-comments-panel {
  --cwbe-community-accent: var(--cw-pink);
  margin: 24px 0 36px;
  padding: clamp(18px, 3vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(20,20,30,.09);
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 16px 44px rgba(30,20,40,.09);
  color: #17131a;
}
.cwcs-comments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.cwcs-comments-head h2 {
  margin: 2px 0 0;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}
.cwcs-comments-kicker {
  color: var(--cwbe-community-accent);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.cwcs-comments-status {
  flex: 0 0 auto;
  padding: 7px 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cwbe-community-accent) 12%, white);
  color: #342735;
  font-size: .78rem;
  font-weight: 800;
}
.cwcs-comments-intro {
  margin: 0 0 18px;
  color: #6c6470;
}
.cwcs-comment-list,
.cwcs-comment-list .children {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cwcs-comment-list {
  display: flex;
  max-height: 520px;
  flex-direction: column;
  gap: 12px;
  overflow: auto;
  padding: 14px 4px 14px 0;
  scrollbar-width: thin;
}
.cwcs-comment-list .children {
  margin: 10px 0 0 52px;
}
.cwcs-comment-card {
  margin: 0;
}
.cwcs-comment-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
}
.cwcs-comment-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, color-mix(in srgb, var(--cwbe-community-accent) 78%, white), #28202e);
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
}
.cwcs-comment-body {
  min-width: 0;
  padding: 10px 13px;
  border-radius: 8px 18px 18px 18px;
  background: #f6f3f7;
}
.bypostauthor > .cwcs-comment-row .cwcs-comment-body {
  border: 1px solid color-mix(in srgb, var(--cwbe-community-accent) 28%, white);
  background: color-mix(in srgb, var(--cwbe-community-accent) 12%, white);
}
.cwcs-comment-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.cwcs-comment-meta strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cwcs-comment-meta strong a {
  color: inherit;
  text-decoration: none;
}
.cwcs-comment-meta time {
  margin-left: auto;
  color: #8a818d;
  font-size: .75rem;
}
.cwcs-comment-text {
  margin-top: 4px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.cwcs-comment-text p:last-child {
  margin-bottom: 0;
}
.cwcs-comment-actions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  font-size: .76rem;
  font-weight: 800;
}
.cwcs-comment-actions a {
  color: var(--cwbe-community-accent);
}
.cwcs-comment-awaiting {
  margin: 5px 0;
  color: #a15c00;
  font-size: .8rem;
}
.cwcs-comments-empty {
  margin: 12px 0;
  color: #817783;
  text-align: center;
}
.cwcs-comment-form {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(20,20,30,.09);
}
.cwcs-comment-form-title {
  margin: 0 0 10px;
  font-size: 1rem;
}
.cwcs-comment-field {
  display: grid;
  max-width: 420px;
  gap: 5px;
  margin-bottom: 9px;
}
.cwcs-comment-field span {
  font-size: .78rem;
  font-weight: 800;
}
.cwcs-comment-field input,
.cwcs-comment-compose textarea {
  width: 100%;
  border: 1px solid #d8d1db;
  border-radius: 14px;
  background: #fff;
  color: #17131a;
  padding: 11px 13px;
  font: inherit;
}
.cwcs-comment-emoji-tray {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 5px 1px 10px;
}
.cwcs-comment-emoji-tray button {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: #f4f0f5;
  font-size: 1.2rem;
  cursor: pointer;
}
.cwcs-comment-emoji-tray button:hover,
.cwcs-comment-emoji-tray button:focus-visible {
  outline: 2px solid var(--cwbe-community-accent);
  background: #fff;
}
.cwcs-comment-compose textarea {
  min-height: 72px;
  max-height: 180px;
  resize: vertical;
}
.cwcs-comment-form .form-submit {
  display: flex;
  justify-content: flex-end;
  margin: 9px 0 0;
}
.cwcs-comment-submit {
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: var(--cwbe-community-accent);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
.cwcs-attachment-page .content-area {
  padding-top: 42px;
}
.cwcs-attachment-card {
  overflow: hidden;
}
.cwcs-attachment-back {
  display: inline-flex;
  margin: 6px 0 18px;
  color: var(--cw-pink-dark);
  font-weight: 800;
  text-decoration: none;
}
.cwcs-attachment-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(20,18,24,.04);
}
.cwcs-attachment-media img,
.cwcs-attachment-media video,
.cwcs-attachment-media .wp-video {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 78vh;
  margin: 0 auto;
}
@media (max-width: 800px) {
  .cwcs-social-video-grid {
    grid-template-columns: 1fr;
  }
  .cwcs-social-video-section {
    padding-top: 20px;
  }
  .cwcs-comments-panel {
    border-radius: 20px;
    padding: 16px;
  }
  .cwcs-comments-status {
    display: none;
  }
  .cwcs-comment-list {
    max-height: 420px;
  }
  .cwcs-comment-list .children {
    margin-left: 28px;
  }
}
@media (max-width: 520px) {
  .cwcs-social-video-card {
    border-radius: 18px;
  }
  .cwcs-social-video-card__header {
    align-items: flex-start;
    flex-direction: column;
  }
  .cwcs-comment-row {
    grid-template-columns: 36px minmax(0,1fr);
    gap: 8px;
  }
  .cwcs-comment-avatar {
    width: 36px;
    height: 36px;
  }
  .cwcs-comment-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
  .cwcs-comment-meta time {
    margin-left: 0;
  }
}


/* 1.2.22 — contained social video grid and reliable vertical reel players */
.cwcs-social-video-section {
  width: 100%;
  padding: 30px 0 18px;
  background: transparent;
}
.cwcs-social-video-shell {
  width: min(calc(100% - 40px), 1040px);
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid rgba(255,255,255,.44);
  border-radius: 28px;
  background: rgba(255,255,255,.15);
  box-shadow: 0 18px 48px rgba(30,20,50,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.cwcs-social-video-section .cwcs-section-heading {
  display: block;
  max-width: none;
  margin: 0 0 20px;
  text-align: left;
}
.cwcs-social-video-section .cwcs-section-heading .cw-kicker {
  margin: 0 0 6px;
}
.cwcs-social-video-section .cwcs-section-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
}
.cwcs-social-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 300px));
  justify-content: center;
  align-items: start;
  gap: 20px;
}
.cwcs-social-video-grid > .cwcs-social-video-card,
.cwcs-social-video-grid > .cwcs-social-video-card:first-child {
  grid-column: auto;
  width: 100%;
  max-width: 300px;
  align-self: start;
}
.cwcs-social-video-card__header {
  min-height: 64px;
}
.cwcs-social-player {
  aspect-ratio: 16 / 9;
  min-height: 0;
}
.cwcs-social-player.is-facebook-reel,
.cwcs-social-player.is-instagram,
.cwcs-social-player.is-tiktok {
  aspect-ratio: 9 / 16;
  max-height: none;
}
.cwcs-social-player iframe {
  position: absolute;
  inset: 0;
}
.cwcs-social-player.is-oembed {
  min-height: 420px;
  aspect-ratio: 9 / 16;
}
.cwcs-social-video-source-link {
  display: block;
  padding: 9px 14px 11px;
  color: var(--cw-pink-dark);
  font-size: .76rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  border-top: 1px solid rgba(20,16,24,.08);
}
.cwcs-social-video-source-link:hover,
.cwcs-social-video-source-link:focus-visible {
  text-decoration: underline;
}
@media (max-width: 760px) {
  .cwcs-social-video-shell {
    width: min(calc(100% - 20px), 620px);
    padding: 15px;
    border-radius: 22px;
  }
  .cwcs-social-video-grid {
    grid-template-columns: minmax(0, 340px);
    gap: 16px;
  }
  .cwcs-social-video-grid > .cwcs-social-video-card,
  .cwcs-social-video-grid > .cwcs-social-video-card:first-child {
    max-width: 340px;
  }
}


/* 1.2.23 — one post-based Viral Media section, three-column desktop grid */
.cwcs-social-video-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 940px;
  margin-inline: auto;
  gap: clamp(14px, 2vw, 22px);
}
.cwcs-social-video-grid > .cwcs-social-video-card,
.cwcs-social-video-grid > .cwcs-social-video-card:first-child {
  width: 100%;
  max-width: none;
  grid-column: auto;
}
.cwcs-social-video-grid.is-count-1 > .cwcs-social-video-card:first-child {
  grid-column: 2;
}
.cwcs-social-video-grid.is-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 620px;
}
@media (max-width: 900px) {
  .cwcs-social-video-grid,
  .cwcs-social-video-grid.is-count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 650px;
  }
  .cwcs-social-video-grid.is-count-1 > .cwcs-social-video-card:first-child {
    grid-column: auto;
  }
}
@media (max-width: 620px) {
  .cwcs-social-video-grid,
  .cwcs-social-video-grid.is-count-2 {
    grid-template-columns: minmax(0, 1fr);
    max-width: 360px;
  }
}

/* 1.2.24 / 1.2.30 — tutorial page and bordered action button above homepage comments */
.cwcs-social-video-action {
  display: flex;
  justify-content: center;
  margin: clamp(20px, 3vw, 30px) 0 2px;
}
.cwcs-social-video-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: var(--cwcs-video-button-width, 2px) solid var(--cwcs-video-button-border, #5c3bff);
  border-radius: var(--cwcs-video-button-radius, 14px);
  background: var(--cwcs-video-button-bg, #fff);
  color: var(--cwcs-video-button-text, #25185a);
  box-shadow: 0 9px 20px rgba(31, 21, 58, .08);
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.cwcs-social-video-button:hover,
.cwcs-social-video-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 13px 28px rgba(31, 21, 58, .14);
  filter: brightness(.98);
  text-decoration: none;
}
.cwcs-tutorial-page {
  min-height: 62vh;
  padding: clamp(18px, 3vw, 38px) 0 42px;
}
.cwcs-tutorial-video-section {
  padding-top: 0;
}
.cwcs-tutorial-shell {
  width: min(calc(100% - 40px), 1080px);
}
.cwcs-tutorial-video-section .cwcs-section-heading h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.08;
}
.cwcs-tutorial-intro {
  max-width: 700px;
  margin: 10px 0 0;
  color: color-mix(in srgb, currentColor 68%, transparent);
  line-height: 1.55;
}
.cwcs-tutorial-video-section .cwcs-social-video-card__header h2 {
  min-width: 0;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}
.cwcs-tutorial-video-section .cwcs-social-video-card__header h2 a {
  color: inherit;
  text-decoration: none;
}
.cwcs-tutorial-empty {
  max-width: 620px;
  margin: 18px auto 4px;
  padding: 28px;
  border: 1px dashed rgba(92, 59, 255, .38);
  border-radius: 20px;
  background: rgba(255,255,255,.45);
  text-align: center;
}
.cwcs-tutorial-empty h2 {
  margin: 0 0 8px;
}
.cwcs-tutorial-empty p {
  margin: 0;
}
@media (max-width: 760px) {
  .cwcs-tutorial-shell {
    width: min(calc(100% - 20px), 620px);
  }
  .cwcs-social-video-button {
    width: min(100%, 320px);
  }
}


/* 1.2.25 — rotating feature images/GIFs and coordinated video playback */
.cwcs-feature-rotator,
.cwcs-feature-rotator > a {
  position: relative;
  overflow: hidden;
}
.cwcs-feature-rotator .cwcs-feature-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s ease, visibility .55s ease;
}
.cwcs-feature-rotator .cwcs-feature-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.cwcs-feature-rotator.has-rotation .cwcs-feature-slide.is-active {
  position: absolute;
}
@media (prefers-reduced-motion: reduce) {
  .cwcs-feature-rotator .cwcs-feature-slide {
    transition: none;
  }
}

/* 1.2.28 — reliable per-slot tilt, including Feature 3. */
.cwcs-feature-hero {
  overflow-x: clip;
}
.cwcs-feature-media-grid {
  padding-block: clamp(20px, 2.4vw, 34px);
}
.cwcs-feature-media {
  overflow: visible;
  padding: 8px;
}
.cwcs-feature-tilt-layer {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform: rotate(var(--cwcs-feature-tilt, 0deg));
  transform-origin: center center;
  transition: transform .28s ease;
  will-change: transform;
}
.cwcs-feature-tilt-layer > a,
.cwcs-feature-tilt-layer > img {
  display: block;
  width: 100%;
  height: 100%;
}
@media (max-width: 820px) {
  .cwcs-feature-media {
    width: calc(100% - 30px);
    margin-inline: auto;
    padding: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cwcs-feature-tilt-layer {
    transition: none;
  }
}


/* 1.2.29 — independent tilt for every slideshow image, including image 2. */
.cwcs-feature-tilt-layer {
  transform: none !important;
  overflow: visible;
}
.cwcs-feature-rotator > a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.cwcs-feature-rotator .cwcs-feature-slide {
  transform: rotate(var(--cwcs-slide-tilt, 0deg));
  transform-origin: center center;
  transition: opacity .55s ease, visibility .55s ease, transform .28s ease;
  will-change: opacity, transform;
}
@media (prefers-reduced-motion: reduce) {
  .cwcs-feature-rotator .cwcs-feature-slide {
    transition: none;
  }
}


/* 1.2.30 — independent homepage button above the comments section. */
.cwcs-comments-button-section {
  padding: clamp(10px, 2vw, 18px) 0 4px;
}
.cwcs-comments-button-section .cwcs-social-video-action {
  width: min(calc(100% - 32px), var(--cw-container));
  margin: 0 auto;
}


/* 1.2.31 — wider mobile pages, flatter content surfaces, and lighter rendering. */
body { overflow-x: hidden; }

/* Let large below-the-fold sections wait until they approach the viewport. */
.cwcs-social-video-section,
.cwcs-comments-button-section,
.cwcs-home-page-content,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 520px;
}

@media (max-width: 782px) {
  body.cwcs-mobile-wide .cw-container,
  body.cwcs-mobile-wide .cwcs-social-video-shell,
  body.cwcs-mobile-wide .cwcs-tutorial-shell,
  body.cwcs-mobile-wide .cwcs-comments-button-section .cwcs-social-video-action,
  body.cwcs-mobile-wide .site-footer__bottom {
    width: calc(100% - 12px);
    max-width: none;
    margin-inline: auto;
  }

  body.cwcs-mobile-wide .site-main > .cw-container.content-area,
  body.cwcs-mobile-wide .cwcs-attachment-page .content-area {
    padding-top: 18px !important;
    padding-bottom: 28px;
  }

  body.cwcs-mobile-wide .cw-page-header {
    padding: 26px 0 14px;
  }

  body.cwcs-mobile-wide .cw-page-header h1,
  body.cwcs-mobile-wide .entry-title {
    font-size: clamp(1.75rem, 9vw, 2.65rem);
  }

  body.cwcs-mobile-wide .entry-content,
  body.cwcs-mobile-wide .entry-content > * {
    max-width: 100%;
  }

  body.cwcs-mobile-wide iframe,
  body.cwcs-mobile-wide video,
  body.cwcs-mobile-wide .wp-video,
  body.cwcs-mobile-wide .wp-video-shortcode {
    max-width: 100%;
  }

  /* Remove the nested white boxes from regular page/post content. */
  body.cwcs-mobile-flat .site-main > .cw-container.content-area > article.cw-content-card,
  body.cwcs-mobile-flat .cwcs-home-page-content .cw-content-card,
  body.cwcs-mobile-flat .cwcs-attachment-card {
    padding: 10px 4px 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.cwcs-mobile-flat .cwcs-social-video-shell,
  body.cwcs-mobile-flat .cwcs-tutorial-shell {
    padding: 12px 6px 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  body.cwcs-mobile-flat .cwcs-comments-panel {
    margin-inline: 0;
    padding: 14px 10px;
    border-radius: 17px;
    box-shadow: 0 8px 22px rgba(30, 20, 50, .07);
  }

  body.cwcs-mobile-flat .cwcs-social-video-card,
  body.cwcs-mobile-flat .cw-post-card {
    border-radius: 17px;
  }

  body.cwcs-mobile-flat .woocommerce div.product,
  body.cwcs-mobile-flat .woocommerce table.shop_table,
  body.cwcs-mobile-flat .woocommerce form.checkout_coupon,
  body.cwcs-mobile-flat .woocommerce form.login,
  body.cwcs-mobile-flat .woocommerce form.register {
    border-radius: 16px !important;
  }

  .cw-section { padding-block: 38px; }
  .cw-section--tight { padding-block: 24px; }
}

@media (max-width: 480px) {
  body.cwcs-mobile-wide .cw-container,
  body.cwcs-mobile-wide .cwcs-social-video-shell,
  body.cwcs-mobile-wide .cwcs-tutorial-shell,
  body.cwcs-mobile-wide .cwcs-comments-button-section .cwcs-social-video-action,
  body.cwcs-mobile-wide .site-footer__bottom {
    width: calc(100% - 8px);
  }

  body.cwcs-mobile-flat .cwcs-comments-panel {
    padding-inline: 8px;
  }
}


.cwcs-comment-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


/* 1.2.32 — front-end creator profile avatar routing. */
.cwcs-admin-dashboard-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px;
  margin-right: 10px;
  border: 1px solid color-mix(in srgb, var(--cw-accent, var(--cw-pink)) 35%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--cw-accent, var(--cw-pink)) 10%, white);
  color: var(--cw-text);
  font-size: .86rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.cwcs-admin-dashboard-link:hover,
.cwcs-admin-dashboard-link:focus-visible {
  background: var(--cw-accent, var(--cw-pink));
  color: #fff;
}
@media (max-width: 900px) {
  .cwcs-admin-dashboard-link {
    width: 100%;
    margin: 0 0 8px;
    border-radius: 12px;
  }
}


/* 1.2.33 — CW Color Studio tutorial products and page-title alignment. */
.cwcs-title-align-left { text-align: left; }
.cwcs-title-align-center { text-align: center; }
.cwcs-title-align-right { text-align: right; }
.cwcs-title-align-center .cwcs-tutorial-intro,
.cwcs-title-align-center .cw-kicker { margin-inline: auto; }
.cwcs-title-align-right .cwcs-tutorial-intro,
.cwcs-title-align-right .cw-kicker { margin-left: auto; }
.cwcs-tutorial-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: 24px;
}
.cwcs-tutorial-product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(71, 54, 135, .18);
  border-radius: 22px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 16px 36px rgba(31, 21, 58, .09);
  backdrop-filter: blur(12px);
}
.cwcs-tutorial-product-image { display:block; aspect-ratio: 16 / 9; overflow:hidden; background:#eee; }
.cwcs-tutorial-product-image img { width:100%; height:100%; object-fit:cover; display:block; }
.cwcs-tutorial-product-player .cwcs-social-player { border-radius:0; }
.cwcs-tutorial-product-body { display:flex; flex:1; flex-direction:column; gap:10px; padding:18px; }
.cwcs-tutorial-product-body h2 { margin:0; font-size:1.16rem; line-height:1.25; }
.cwcs-tutorial-product-body h2 a { color:inherit; text-decoration:none; }
.cwcs-tutorial-product-description { color:color-mix(in srgb, currentColor 72%, transparent); line-height:1.5; }
.cwcs-tutorial-product-description p { margin:0; }
.cwcs-tutorial-product-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:auto; }
.cwcs-tutorial-price { font-size:1.12rem; font-weight:900; }
.cwcs-tutorial-product-footer .button { min-height:42px; display:inline-flex; align-items:center; justify-content:center; border-radius:12px; font-weight:800; }
.cwcs-tutorial-details-link { color:var(--cw-pink-dark); font-size:.86rem; font-weight:800; text-decoration:none; }
.cwcs-product-tutorial-video { margin:10px 0 18px; }
.cwcs-social-player.is-native video { width:100%; height:100%; object-fit:contain; background:#000; }
@media (max-width:900px) { .cwcs-tutorial-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:620px) { .cwcs-tutorial-product-grid { grid-template-columns:minmax(0,1fr); } .cwcs-tutorial-product-footer{align-items:stretch;flex-direction:column}.cwcs-tutorial-product-footer .button{width:100%} }


/* 1.2.34 — centered viral media titles, original-video subtitle, comments footer */
.cwcs-social-video-card__header {
  display: block;
  padding: 16px 16px 12px;
}
.cwcs-social-video-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
}
.cwcs-social-video-card__header h3 {
  width: 100%;
  margin: 0;
  text-align: center;
}
.cwcs-social-video-card__header h3 a {
  display: inline-block;
}
.cwcs-social-video-source-link--header {
  display: inline-block;
  padding: 0;
  border-top: 0;
  color: var(--cw-pink-dark);
  font-size: .76rem;
  font-weight: 800;
  text-decoration: none;
}
.cwcs-social-video-source-link--header:hover,
.cwcs-social-video-source-link--header:focus-visible {
  text-decoration: underline;
}
.cwcs-social-video-card__footer {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px 12px;
  border-top: 1px solid rgba(20,16,24,.08);
}
.cwcs-social-video-comments-link--footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--cw-pink-dark);
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}
.cwcs-social-video-comments-link--footer:hover,
.cwcs-social-video-comments-link--footer:focus-visible {
  text-decoration: underline;
}
.cwcs-social-video-comments-icon {
  font-size: .95rem;
  line-height: 1;
}


/* 1.2.35 — compact comment likes at the right edge of each comment */
.cwcs-comment-actions{align-items:center;justify-content:space-between;width:100%}.cwcs-comment-actions-left{display:inline-flex;align-items:center;gap:10px}.cwcs-comment-like{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:38px;height:25px;padding:0 8px;border:1px solid rgba(80,65,90,.14);border-radius:999px;background:rgba(255,255,255,.72);color:#6f6574;font:inherit;font-size:.72rem;font-weight:800;line-height:1;cursor:pointer}.cwcs-comment-like:hover,.cwcs-comment-like:focus-visible{border-color:var(--cwbe-community-accent);color:var(--cwbe-community-accent);outline:0}.cwcs-comment-like.is-liked{border-color:color-mix(in srgb,var(--cwbe-community-accent) 46%,white);background:color-mix(in srgb,var(--cwbe-community-accent) 12%,white);color:var(--cwbe-community-accent)}.cwcs-comment-like:disabled{opacity:.58;cursor:wait}.cwcs-comment-like-icon{font-size:.9rem;line-height:1}

/* Arena City Hub sales landing page — v1.2.41 */
.cw-hub-home{--hub-ink:#170c2d;--hub-purple:#6938ef;--hub-pink:#ff3e9d;--hub-blue:#3a7dff;--hub-soft:#f7f2ff;background:#fff;color:var(--hub-ink)}
.cw-hub-home .cw-container{width:min(1180px,calc(100% - 32px));margin-inline:auto}
.cw-hub-hero{position:relative;overflow:hidden;padding:clamp(72px,9vw,132px) 0;background:linear-gradient(135deg,#3b178f 0%,#7c2ce8 43%,#e332a4 74%,#ff6f70 100%);color:#fff}
.cw-hub-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 15% 20%,rgba(255,255,255,.16),transparent 22%),radial-gradient(circle at 80% 75%,rgba(47,185,255,.23),transparent 25%)}
.cw-hub-hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);gap:54px;align-items:center}
.cw-hub-pill,.cw-hub-kicker{margin:0 0 12px;font-size:.78rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase}.cw-hub-pill{display:inline-flex;padding:9px 14px;border:1px solid rgba(255,255,255,.35);border-radius:999px;background:rgba(255,255,255,.1)}
.cw-hub-hero h1{max-width:780px;margin:0;font-size:clamp(3rem,7vw,6.4rem);line-height:.93;letter-spacing:-.055em;color:#fff}.cw-hub-hero-copy>p:not(.cw-hub-pill):not(.cw-hub-small){max-width:720px;margin:24px 0;font-size:clamp(1.05rem,2vw,1.32rem);line-height:1.7}.cw-hub-small{margin-top:18px;opacity:.82;font-weight:700}
.cw-hub-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.cw-hub-actions.center{justify-content:center}.cw-hub-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:12px 21px;border:2px solid transparent;border-radius:999px;font-weight:900;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease}.cw-hub-btn:hover{transform:translateY(-2px)}.cw-hub-btn.is-primary{background:#fff;color:#40127d;box-shadow:0 14px 35px rgba(34,7,72,.22)}.cw-hub-btn.is-secondary{background:linear-gradient(135deg,var(--hub-pink),var(--hub-purple));color:#fff}.cw-hub-btn.is-ghost{border-color:currentColor;color:inherit;background:transparent}
.cw-hub-hero-visual{position:relative;min-height:480px;display:grid;place-items:center}.cw-hub-device{position:relative;z-index:2;width:min(100%,430px);padding:28px;border:1px solid rgba(255,255,255,.4);border-radius:34px;background:linear-gradient(145deg,rgba(255,255,255,.24),rgba(255,255,255,.1));backdrop-filter:blur(18px);box-shadow:0 35px 70px rgba(31,5,71,.28);text-align:center}.cw-hub-device-bar{display:flex;gap:7px}.cw-hub-device-bar span{width:10px;height:10px;border-radius:50%;background:#fff;opacity:.75}.cw-hub-device-logo{width:126px;height:126px;margin:34px auto 14px;display:grid;place-items:center;border-radius:30px;background:linear-gradient(135deg,#ff5aa8,#743cf2,#28b9ff);font-size:2.8rem;font-weight:1000;box-shadow:inset 0 0 0 5px rgba(255,255,255,.65),0 20px 45px rgba(38,5,92,.25)}.cw-hub-device>p{font-size:1.5rem;font-weight:900}.cw-hub-mini-tools{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.cw-hub-mini-tools span{padding:9px 11px;border-radius:12px;background:rgba(255,255,255,.16);font-size:.83rem;font-weight:800}.cw-hub-orb{position:absolute;border-radius:50%;filter:blur(2px)}.orb-one{width:170px;height:170px;right:4%;top:2%;background:rgba(55,201,255,.36)}.orb-two{width:120px;height:120px;left:3%;bottom:5%;background:rgba(255,98,190,.42)}
.cw-hub-quick{padding:28px 0;background:#140b25;color:#fff}.cw-hub-quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.cw-hub-quick article{padding:18px;border:1px solid rgba(255,255,255,.12);border-radius:20px;background:rgba(255,255,255,.045)}.cw-hub-quick span{font-size:1.65rem}.cw-hub-quick h2{margin:8px 0 5px;font-size:1rem;color:#fff}.cw-hub-quick p{margin:0;color:#cfc5e2;font-size:.9rem;line-height:1.55}
.cw-hub-section{padding:clamp(64px,8vw,108px) 0}.cw-hub-heading{max-width:760px;margin:0 auto 38px;text-align:center}.cw-hub-heading h2{margin:0;font-size:clamp(2.1rem,4.6vw,4.2rem);line-height:1.02;letter-spacing:-.045em}.cw-hub-heading p:last-child{font-size:1.08rem;line-height:1.7}.cw-hub-kicker{color:var(--hub-purple)}.cw-hub-heading.light,.cw-hub-heading.light h2{color:#fff}.cw-hub-heading.light .cw-hub-kicker{color:#ff8ccd}
.cw-hub-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.cw-hub-product-card{overflow:hidden;border:1px solid #e8def6;border-radius:25px;background:#fff;box-shadow:0 18px 45px rgba(64,27,105,.08);transition:transform .2s ease}.cw-hub-product-card:hover{transform:translateY(-5px)}.cw-hub-product-image{display:grid;place-items:center;aspect-ratio:16/10;overflow:hidden;background:linear-gradient(135deg,#4721a7,#ce32ac,#ff7d79);text-decoration:none}.cw-hub-product-image img{width:100%;height:100%;object-fit:cover}.cw-hub-product-image span{font-size:4rem;color:#fff}.cw-hub-product-body{padding:22px}.cw-hub-product-type{margin:0;color:var(--hub-purple);font-size:.75rem;font-weight:900;text-transform:uppercase;letter-spacing:.1em}.cw-hub-product-card h3{margin:7px 0 10px;font-size:1.35rem}.cw-hub-product-card h3 a{color:inherit;text-decoration:none}.cw-hub-product-card p{line-height:1.6}.cw-hub-product-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}.cw-hub-price{font-weight:900}.cw-hub-link{font-weight:900;color:var(--hub-purple)}.cw-hub-admin-note{padding:18px;border:2px dashed #bd9ef0;border-radius:18px;background:#fbf8ff;text-align:center;font-weight:800}
.cw-hub-demo{background:linear-gradient(150deg,#160b2f,#32105d 55%,#7b1f73);color:#fff}.cw-hub-demo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.cw-hub-demo-card{padding:24px;border:1px solid rgba(255,255,255,.16);border-radius:23px;background:rgba(255,255,255,.08);color:#fff;text-decoration:none;backdrop-filter:blur(10px)}.cw-hub-demo-card>span{font-size:2.2rem}.cw-hub-demo-card h3{margin:12px 0 8px;color:#fff}.cw-hub-demo-card p{color:#ded4ed;line-height:1.55}.cw-hub-demo-card strong{color:#ff8fd0}.cw-hub-live-demo-content{margin-top:42px;padding:22px;border-radius:26px;background:#fff;color:var(--hub-ink)}
.cw-hub-premium{background:var(--hub-soft)}.cw-hub-split{display:grid;grid-template-columns:1fr 1fr;gap:58px;align-items:center}.cw-hub-split h2{font-size:clamp(2.2rem,4vw,4rem);line-height:1.03}.cw-hub-split p,.cw-hub-split li{line-height:1.7}.cw-hub-premium-visual,.cw-hub-live-visual{min-height:360px;display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:22px;padding:38px;border-radius:34px;background:linear-gradient(135deg,#5319bc,#de37a5,#ff7e6e);color:#fff}.cw-hub-premium-visual span{font-size:4rem}.cw-hub-premium-visual strong{width:100%;text-align:center;font-size:1.5rem}.cw-hub-live{background:#130a26;color:#fff}.cw-hub-split.reverse>div:first-child{order:1}.cw-hub-live-visual{position:relative;flex-direction:column;background:radial-gradient(circle at 50% 35%,#7d2ef1,#24113f 68%);text-align:center}.cw-hub-live-visual .live-dot{width:18px;height:18px;border-radius:50%;background:#ff3e6c;box-shadow:0 0 0 10px rgba(255,62,108,.18)}.cw-hub-live-visual span{font-size:4rem;font-weight:1000}.cw-hub-live-visual strong{font-size:1.2rem}.cw-hub-live .cw-hub-kicker{color:#ff88c9}.cw-hub-live h2{color:#fff}
.cw-hub-process{background:#fff}.cw-hub-process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.cw-hub-process article{padding:24px;border-radius:22px;background:#f8f4ff;border:1px solid #e9def7}.cw-hub-process b{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,var(--hub-pink),var(--hub-purple));color:#fff;font-size:1.25rem}.cw-hub-process h3{margin:15px 0 8px}.cw-hub-process p{line-height:1.6}
.cw-hub-final{padding:clamp(70px,9vw,120px) 0;background:linear-gradient(135deg,#3c168d,#9f30db,#ff557e);color:#fff;text-align:center}.cw-hub-final h2{max-width:900px;margin:0 auto 24px;font-size:clamp(2.2rem,5vw,4.6rem);line-height:1.02;color:#fff}.cw-hub-final strong{display:block;margin-top:28px;font-size:1.1rem}
@media(max-width:900px){.cw-hub-hero-grid,.cw-hub-split{grid-template-columns:1fr}.cw-hub-hero-visual{min-height:360px}.cw-hub-quick-grid,.cw-hub-process-grid{grid-template-columns:repeat(2,1fr)}.cw-hub-product-grid,.cw-hub-demo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cw-hub-split.reverse>div:first-child{order:0}}
@media(max-width:600px){.cw-hub-home .cw-container{width:min(100% - 22px,1180px)}.cw-hub-hero{padding:64px 0}.cw-hub-hero h1{font-size:clamp(2.7rem,15vw,4.2rem)}.cw-hub-actions{display:grid}.cw-hub-btn{width:100%}.cw-hub-hero-visual{min-height:300px}.cw-hub-device{padding:20px}.cw-hub-device-logo{width:96px;height:96px}.cw-hub-quick-grid,.cw-hub-product-grid,.cw-hub-demo-grid,.cw-hub-process-grid{grid-template-columns:1fr}.cw-hub-section{padding:58px 0}.cw-hub-product-card{border-radius:20px}.cw-hub-premium-visual,.cw-hub-live-visual{min-height:280px}}


/* CW Studio approved sales-hub branding — v1.2.41 */
.cwcs-default-brand-logo {
  display: block;
  width: min(310px, 42vw);
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
  border-radius: 14px;
}
.cw-hub-brand-art {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  margin: 0 auto 22px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 28px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 24px 70px rgba(32, 5, 104, .34);
}
.cw-hub-brand-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.cw-hub-device.has-brand-art {
  padding-top: 18px;
}
.cw-hub-device.has-brand-art .cw-hub-device-logo,
.cw-hub-device.has-brand-art > p {
  display: none;
}
@media (max-width: 782px) {
  .cwcs-default-brand-logo { width: min(235px, 58vw); max-height: 58px; }
  .cw-hub-brand-art { padding: 9px; border-radius: 20px; margin-bottom: 16px; }
  .cw-hub-brand-art img { border-radius: 14px; }
}


/* v1.2.42: restore the compact Creator Studio demo card and use the approved square brand artwork. */
.cw-hub-classic-demo-card{max-width:430px;padding:28px 28px 30px;background:linear-gradient(155deg,rgba(184,104,255,.52),rgba(255,103,188,.34));border-color:rgba(255,255,255,.52)}
.cw-hub-app-logo-wrap{width:min(88%,350px);aspect-ratio:1.7;margin:24px auto 12px;border-radius:30px;overflow:hidden;background:#fff;box-shadow:0 18px 42px rgba(39,7,92,.24);display:flex;align-items:center;justify-content:center;padding:16px}
.cw-hub-app-logo-wrap img{display:block;width:100%;height:100%;object-fit:contain}
.cw-hub-device-title{margin:14px 0 24px!important;color:#fff;font-size:1.45rem!important;font-weight:900!important;text-shadow:0 3px 12px rgba(41,5,91,.22)}
.cw-hub-classic-demo-card .cw-hub-mini-tools span{background:rgba(255,255,255,.17);color:#fff}
@media(max-width:600px){.cw-hub-app-logo-wrap{width:min(88%,300px);border-radius:24px;padding:12px}.cw-hub-device-title{font-size:1.25rem!important}.cw-hub-classic-demo-card{padding:20px 18px 24px}}


/* v1.2.44: standard WordPress primary menu for the Arena City sales hub. */
.cwcs-standard-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  flex: 1 1 auto;
}
.cwcs-standard-navigation .cwcs-standard-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cwcs-standard-navigation .menu-item { position: relative; margin: 0; }
.cwcs-standard-navigation .menu-item > a {
  display: block;
  padding: 10px 2px;
  color: var(--cw-text);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.cwcs-standard-navigation .menu-item > a:hover,
.cwcs-standard-navigation .menu-item > a:focus,
.cwcs-standard-navigation .current-menu-item > a,
.cwcs-standard-navigation .current-menu-ancestor > a { color: var(--cw-pink-dark); }
.cwcs-standard-navigation .sub-menu {
  position: absolute;
  z-index: 1000;
  top: 100%;
  left: 0;
  display: none;
  min-width: 210px;
  margin: 0;
  padding: 10px;
  list-style: none;
  border: 1px solid var(--cw-border);
  border-radius: 14px;
  background: var(--cw-card);
  box-shadow: var(--cw-shadow);
}
.cwcs-standard-navigation .menu-item:hover > .sub-menu,
.cwcs-standard-navigation .menu-item:focus-within > .sub-menu { display: block; }
.cwcs-standard-navigation .sub-menu a { display: block; padding: 9px 11px; }
.cwcs-discovery-menu,
.cwcs-desktop-studio-menu,
.cwcs-mobile-studio-strip { display: none !important; }
@media (max-width: 900px) {
  .cwcs-standard-navigation { display: none; width: 100%; order: 20; }
  .cwcs-standard-navigation.is-open,
  .main-navigation.toggled { display: block; }
  .cwcs-standard-navigation .cwcs-standard-menu {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
  }
  .cwcs-standard-navigation .menu-item > a { padding: 12px 16px; }
  .cwcs-standard-navigation .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    margin-left: 16px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
}


/* v1.2.46: exact compact Creator Studio homepage demo card. */
.cw-hub-classic-demo-card{
  width:min(100%,474px);
  max-width:474px;
  padding:16px 28px 30px;
  border-radius:36px;
  background:linear-gradient(155deg,rgba(139,49,236,.90),rgba(234,78,177,.78));
  border:1.5px solid rgba(255,255,255,.62);
  box-shadow:0 35px 70px rgba(31,5,71,.28);
}
.cw-hub-classic-demo-card .cw-hub-device-bar{padding:1px 0 0 2px}
.cw-hub-classic-demo-card .cw-hub-device-bar span{width:11px;height:11px}
.cw-hub-app-logo-wrap{
  width:100%;
  max-width:410px;
  aspect-ratio:1.48;
  margin:0 auto 24px;
  padding:22px;
  border-radius:30px;
  background:#fff;
  overflow:hidden;
  box-shadow:none;
}
.cw-hub-app-logo-wrap img{width:100%;height:100%;object-fit:contain}
.cw-hub-classic-demo-card .cw-hub-device-title{display:none!important}
.cw-hub-classic-demo-card .cw-hub-mini-tools{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  align-items:center;
}
.cw-hub-classic-demo-card .cw-hub-mini-tools span{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:9px 8px;
  border-radius:13px;
  background:rgba(255,255,255,.16);
  color:#fff;
  font-size:.82rem;
  font-weight:900;
  white-space:nowrap;
}
.cw-hub-classic-demo-card .cw-hub-mini-tools span:last-child{
  grid-column:2 / span 2;
  justify-self:center;
  width:82px;
}
@media(max-width:600px){
  .cw-hub-classic-demo-card{padding:14px 16px 24px;border-radius:30px}
  .cw-hub-app-logo-wrap{padding:14px;border-radius:24px;margin-bottom:20px}
  .cw-hub-classic-demo-card .cw-hub-mini-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cw-hub-classic-demo-card .cw-hub-mini-tools span:last-child{grid-column:1 / -1}
}


/* v1.2.47: full Creator Studio demo pages use the real plugin UI without theme card constraints. */
body.cwcs-creator-demo-page .site-main { width: 100%; max-width: none; overflow: visible; }
body.cwcs-creator-demo-page .cwcs-editor-shell { width: 100%; max-width: none; margin: 0; padding: 18px 18px 42px; }
body.cwcs-creator-demo-page .cwcs-editor-shell .entry-content { width: 100%; max-width: none; overflow: visible; }
body.cwcs-creator-demo-page .cwcs-editor-shell .entry-content > * { max-width: none; }
body.cwcs-creator-demo-page .cwcs-editor-shell .cwbe-app,
body.cwcs-creator-demo-page .cwcs-editor-shell .cwcb-app,
body.cwcs-creator-demo-page .cwcs-editor-shell [class*="cwbe-"],
body.cwcs-creator-demo-page .cwcs-editor-shell [class*="cwcb-"] { box-sizing: border-box; }
@media (max-width: 782px) {
  body.cwcs-creator-demo-page .cwcs-editor-shell { padding: 10px 6px 28px; }
}


/* v1.2.48: Simple Membership forms and protected-content messages. */
body.cwcs-membership-page .cw-content-card {
  width: min(100%, 900px);
  margin-inline: auto;
}
body.cwcs-membership-page .entry-title {
  font-size: clamp(2rem, 5vw, 3.45rem);
}
body.cwcs-simple-membership-active :where(
  .swpm-login-widget-form,
  .swpm-registration-widget-form,
  .swpm-edit-profile-form,
  .swpm-profile-form,
  .swpm-pw-reset-widget-form,
  .swpm-reset-form
) {
  width: min(100%, 680px);
  margin: 22px auto;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--cw-border);
  border-radius: var(--cw-radius);
  background: linear-gradient(180deg, #fff 0%, var(--cw-pink-pale) 100%);
  box-shadow: 0 16px 38px rgba(25, 25, 31, .08);
  color: var(--cw-text);
}
body.cwcs-simple-membership-active :where(
  .swpm-login-widget-form,
  .swpm-registration-widget-form,
  .swpm-edit-profile-form,
  .swpm-profile-form,
  .swpm-pw-reset-widget-form,
  .swpm-reset-form
) form {
  margin: 0;
}
body.cwcs-simple-membership-active :where(
  .swpm-login-widget-form,
  .swpm-registration-widget-form,
  .swpm-edit-profile-form,
  .swpm-profile-form,
  .swpm-pw-reset-widget-form,
  .swpm-reset-form
) :where(label, .swpm-label, [class$="-label"]) {
  color: var(--cw-text);
  font-weight: 800;
}
body.cwcs-simple-membership-active :where(
  .swpm-login-widget-form,
  .swpm-registration-widget-form,
  .swpm-edit-profile-form,
  .swpm-profile-form,
  .swpm-pw-reset-widget-form,
  .swpm-reset-form
) :where(
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  input[type="url"],
  input[type="number"],
  select,
  textarea
) {
  width: 100%;
  min-height: 50px;
  margin-top: 6px;
  padding: 11px 13px;
  border: 1px solid var(--cw-border);
  border-radius: 12px;
  background: #fff;
  color: var(--cw-text);
  box-shadow: none;
  outline: 0;
}
body.cwcs-simple-membership-active :where(
  .swpm-login-widget-form,
  .swpm-registration-widget-form,
  .swpm-edit-profile-form,
  .swpm-profile-form,
  .swpm-pw-reset-widget-form,
  .swpm-reset-form
) :where(
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  input[type="url"],
  input[type="number"],
  select,
  textarea
):focus {
  border-color: var(--cw-pink-dark);
  box-shadow: 0 0 0 3px var(--cw-pink-soft);
}
body.cwcs-simple-membership-active :where(
  .swpm-login-widget-form,
  .swpm-registration-widget-form,
  .swpm-edit-profile-form,
  .swpm-profile-form,
  .swpm-pw-reset-widget-form,
  .swpm-reset-form
) textarea {
  min-height: 120px;
  resize: vertical;
}
body.cwcs-simple-membership-active :where(
  .swpm-login-widget-form,
  .swpm-registration-widget-form,
  .swpm-edit-profile-form,
  .swpm-profile-form,
  .swpm-pw-reset-widget-form,
  .swpm-reset-form
) input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0 7px 0 0;
  vertical-align: -3px;
  accent-color: var(--cw-pink-dark);
}
body.cwcs-simple-membership-active :where(
  .swpm-login-widget-form,
  .swpm-registration-widget-form,
  .swpm-edit-profile-form,
  .swpm-profile-form,
  .swpm-pw-reset-widget-form,
  .swpm-reset-form
) :where(
  input[type="submit"],
  button[type="submit"],
  .swpm-button,
  .swpm-login-form-submit,
  .swpm-registration-submit,
  .swpm-profile-submit,
  .swpm-pw-reset-submit
) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(180deg, #f36ba2 0%, var(--cw-pink-dark) 100%);
  color: #fff !important;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(217, 71, 130, .22);
}
body.cwcs-simple-membership-active :where(
  .swpm-login-widget-form,
  .swpm-registration-widget-form,
  .swpm-edit-profile-form,
  .swpm-profile-form,
  .swpm-pw-reset-widget-form,
  .swpm-reset-form
) :where(
  input[type="submit"],
  button[type="submit"],
  .swpm-button,
  .swpm-login-form-submit,
  .swpm-registration-submit,
  .swpm-profile-submit,
  .swpm-pw-reset-submit
):hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(217, 71, 130, .28);
}
body.cwcs-simple-membership-active :where(
  .swpm-login-widget-form,
  .swpm-registration-widget-form,
  .swpm-edit-profile-form,
  .swpm-profile-form,
  .swpm-pw-reset-widget-form,
  .swpm-reset-form
) a {
  color: var(--cw-pink-dark);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
body.cwcs-simple-membership-active :where(
  .swpm-login-widget-form,
  .swpm-registration-widget-form,
  .swpm-edit-profile-form,
  .swpm-profile-form,
  .swpm-pw-reset-widget-form,
  .swpm-reset-form
) table {
  width: 100%;
  border: 0;
  border-collapse: separate;
  border-spacing: 0 12px;
}
body.cwcs-simple-membership-active :where(
  .swpm-login-widget-form,
  .swpm-registration-widget-form,
  .swpm-edit-profile-form,
  .swpm-profile-form,
  .swpm-pw-reset-widget-form,
  .swpm-reset-form
) :where(th, td) {
  padding: 4px 8px;
  border: 0;
  background: transparent;
  text-align: left;
  vertical-align: middle;
}
body.cwcs-simple-membership-active :where(
  .swpm-protected-content-msg,
  .swpm-protected-content-message,
  .swpm-membership-level-message,
  .swpm-login-action-msg,
  .swpm-registration-success,
  .swpm-password-reset-success,
  .swpm-yellow-box,
  .swpm-red-box,
  .swpm-green-box
) {
  width: min(100%, 760px);
  margin: 22px auto;
  padding: 18px 20px;
  border: 1px solid color-mix(in srgb, var(--cw-pink) 34%, var(--cw-border));
  border-left: 5px solid var(--cw-pink-dark);
  border-radius: 14px;
  background: var(--cw-pink-pale);
  color: var(--cw-text);
  box-shadow: 0 10px 25px rgba(25, 25, 31, .06);
}
body.cwcs-simple-membership-active :where(.swpm-red-box, .swpm-error, .swpm-login-error) {
  border-color: #d95a67;
  border-left-color: #b92f3d;
  background: #fff4f5;
  color: #711e28;
}
body.cwcs-simple-membership-active :where(.swpm-green-box, .swpm-success) {
  border-color: #55a778;
  border-left-color: #287a4d;
  background: #f1fbf5;
  color: #205f3d;
}
body.cwcs-simple-membership-active :where(
  .swpm-protected-content-msg,
  .swpm-protected-content-message,
  .swpm-membership-level-message,
  .swpm-login-action-msg
) a {
  color: var(--cw-pink-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.cwcs-simple-membership-active :where(
  .swpm-remember-me,
  .swpm-rember-me,
  .swpm-login-action-msg,
  .swpm-registration-submit-section,
  .swpm-profile-submit-section
) {
  margin-top: 16px;
}
body.cwcs-simple-membership-active :where(.swpm-description, .swpm-form-hint, .swpm-help-text) {
  color: var(--cw-muted);
  font-size: .92rem;
}
@media (max-width: 600px) {
  body.cwcs-membership-page .content-area { width: min(calc(100% - 16px), var(--cw-container)); }
  body.cwcs-simple-membership-active :where(
    .swpm-login-widget-form,
    .swpm-registration-widget-form,
    .swpm-edit-profile-form,
    .swpm-profile-form,
    .swpm-pw-reset-widget-form,
    .swpm-reset-form
  ) {
    padding: 18px 14px;
    border-radius: 16px;
  }
  body.cwcs-simple-membership-active :where(
    .swpm-login-widget-form,
    .swpm-registration-widget-form,
    .swpm-edit-profile-form,
    .swpm-profile-form,
    .swpm-pw-reset-widget-form,
    .swpm-reset-form
  ) :where(table, tbody, tr, th, td) {
    display: block;
    width: 100%;
  }
  body.cwcs-simple-membership-active :where(
    .swpm-login-widget-form,
    .swpm-registration-widget-form,
    .swpm-edit-profile-form,
    .swpm-profile-form,
    .swpm-pw-reset-widget-form,
    .swpm-reset-form
  ) tr {
    margin-bottom: 12px;
  }
  body.cwcs-simple-membership-active :where(
    .swpm-login-widget-form,
    .swpm-registration-widget-form,
    .swpm-edit-profile-form,
    .swpm-profile-form,
    .swpm-pw-reset-widget-form,
    .swpm-reset-form
  ) :where(th, td) {
    padding: 3px 0;
  }
  body.cwcs-simple-membership-active :where(
    .swpm-login-widget-form,
    .swpm-registration-widget-form,
    .swpm-edit-profile-form,
    .swpm-profile-form,
    .swpm-pw-reset-widget-form,
    .swpm-reset-form
  ) :where(input[type="submit"], button[type="submit"], .swpm-button) {
    width: 100%;
  }
}


/* v1.2.50: tag-driven Shop navigation and cleaner homepage sections. */
.cw-hub-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
}
.cw-hub-heading-row .cw-hub-heading { margin-bottom: 0; }
.cw-hub-view-all {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 15px;
  border: 1px solid #d8c7ef;
  border-radius: 999px;
  background: #fff;
  color: var(--hub-purple, var(--cw-pink-dark));
  font-weight: 900;
  text-decoration: none;
}
.cw-hub-view-all:hover { transform: translateY(-1px); }
.cw-shop-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  clear: both;
  width: 100%;
  margin: 0 0 28px;
  padding: 14px;
  border: 1px solid var(--cw-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--cw-shadow);
}
.cw-shop-filter__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--cw-border);
  border-radius: 999px;
  background: var(--cw-pink-pale);
  color: var(--cw-text);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}
.cw-shop-filter__link:hover,
.cw-shop-filter__link.is-active {
  border-color: var(--cw-pink);
  background: var(--cw-pink);
  color: #fff;
}

@media (max-width: 600px) {
  .cw-hub-heading-row { align-items: flex-start; flex-direction: column; gap: 14px; }
  .cw-hub-view-all { align-self: flex-start; }
  .cw-shop-filter { gap: 8px; padding: 10px; border-radius: 16px; }
  .cw-shop-filter__link { flex: 1 1 calc(50% - 8px); min-width: 0; padding-inline: 10px; }
}

/* v1.2.51: repair WooCommerce product-grid placement and card alignment. */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
ul.products::before,
ul.products::after {
  content: none !important;
  display: none !important;
}

.woocommerce ul.products,
ul.products {
  grid-auto-flow: row;
  align-items: stretch;
}

.woocommerce ul.products li.product,
ul.products li.product,
.woocommerce ul.products li.product.first,
.woocommerce ul.products li.product.last,
ul.products li.product.first,
ul.products li.product.last {
  clear: none !important;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

.woocommerce ul.products li.product > .woocommerce-LoopProduct-link,
ul.products li.product > .woocommerce-LoopProduct-link {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  text-decoration: none;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title {
  overflow-wrap: anywhere;
}

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

.woocommerce ul.products li.product .button,
ul.products li.product .button {
  margin-top: 12px !important;
}

.woocommerce .products + .woocommerce-pagination {
  clear: both;
  margin-top: 30px;
}



/* 1.2.52 — landing-style footer replaces legacy widget columns. */
.site-footer.cwcs-landing-footer {
  margin-top: 0;
  overflow: hidden;
  background: #160b2f;
  border-top: 0;
  color: #fff;
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}
.cwcs-landing-footer__main {
  position: relative;
  padding: clamp(64px, 8vw, 108px) 0 clamp(48px, 6vw, 82px);
  background:
    radial-gradient(circle at 10% 15%, rgba(58, 125, 255, .32), transparent 26%),
    radial-gradient(circle at 88% 85%, rgba(255, 62, 157, .30), transparent 29%),
    linear-gradient(135deg, #26105e 0%, #6b28c9 48%, #d936a0 100%);
}
.cwcs-landing-footer__main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.08), transparent 42%);
}
.cwcs-landing-footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}
.cwcs-landing-footer__copy { max-width: 710px; }
.cwcs-landing-footer__kicker {
  margin: 0 0 14px;
  color: #ffd2ed !important;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.cwcs-landing-footer h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 4.85rem);
  line-height: .98;
  letter-spacing: -.05em;
}
.cwcs-landing-footer__copy > p:not(.cwcs-landing-footer__kicker) {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.72;
}
.cwcs-landing-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.cwcs-landing-footer__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.cwcs-landing-footer__button:hover,
.cwcs-landing-footer__button:focus-visible { transform: translateY(-2px); }
.cwcs-landing-footer__button.is-primary {
  background: #fff;
  color: #441383;
  box-shadow: 0 16px 38px rgba(35, 5, 80, .25);
}
.cwcs-landing-footer__button.is-secondary {
  background: #151024;
  color: #fff;
}
.cwcs-landing-footer__button.is-ghost {
  border-color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.08);
  color: #fff;
}
.cwcs-landing-footer__catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.cwcs-landing-footer__card {
  position: relative;
  display: flex;
  min-height: 154px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 22px;
  background: rgba(255,255,255,.10);
  color: #fff;
  text-decoration: none;
  -webkit-backdrop-filter: blur(14px) saturate(118%);
  backdrop-filter: blur(14px) saturate(118%);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.cwcs-landing-footer__card:hover,
.cwcs-landing-footer__card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.17);
  color: #fff;
}
.cwcs-landing-footer__card strong {
  color: #fff;
  font-size: 1.08rem;
}
.cwcs-landing-footer__card span {
  margin-top: 7px;
  color: rgba(255,255,255,.76);
  font-size: .88rem;
  line-height: 1.5;
}
.cwcs-landing-footer__card em {
  position: absolute;
  top: 14px;
  right: 16px;
  color: #fff;
  font-size: 1.45rem;
  font-style: normal;
}
.site-footer__bottom.cwcs-landing-footer__bottom {
  width: min(calc(100% - 40px), var(--cw-container));
  margin-inline: auto;
  padding: 20px 0;
  border-top: 0;
  background: #160b2f;
  color: rgba(255,255,255,.68);
}
.cwcs-footer-bottom__copy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.cwcs-footer-bottom__policy-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-left: auto;
  color: var(--cwcs-policy-link-color, inherit);
}
.cwcs-footer-bottom__policy-links a {
  color: inherit;
  opacity: .92;
  text-decoration: none;
  font-weight: 700;
}
.cwcs-footer-bottom__policy-links a:hover,
.cwcs-footer-bottom__policy-links a:focus-visible {
  color: inherit;
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 920px) {
  .cwcs-landing-footer__inner { grid-template-columns: 1fr; }
  .cwcs-landing-footer__copy { max-width: 800px; }
}
@media (max-width: 600px) {
  .cwcs-landing-footer__main { padding: 56px 0 44px; }
  .cwcs-landing-footer__inner { width: calc(100% - 22px); gap: 34px; }
  .cwcs-landing-footer h2 { font-size: clamp(2.25rem, 12vw, 3.45rem); }
  .cwcs-landing-footer__actions { display: grid; }
  .cwcs-landing-footer__button { width: 100%; }
  .cwcs-landing-footer__catalog { grid-template-columns: 1fr; }
  .cwcs-landing-footer__card { min-height: 124px; }
  .site-footer__bottom.cwcs-landing-footer__bottom {
    width: calc(100% - 22px);
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .cwcs-footer-bottom__policy-links {
    justify-content: flex-start;
    margin-left: 0;
  }
}


/* v1.2.53: CW Creative Hub public branding. */
.cwcs-creative-hub-lockup,
.cwcs-header-brand-label {
  color: var(--cw-text);
  text-decoration: none;
}
.cwcs-creative-hub-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.cwcs-creative-hub-lockup__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #6127e8 0%, #e536b5 52%, #25baf5 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 1000;
  letter-spacing: -.05em;
  box-shadow: 0 8px 20px rgba(92, 39, 224, .24);
}
.cwcs-creative-hub-lockup__name {
  display: flex;
  align-items: baseline;
  gap: .28em;
  white-space: nowrap;
  line-height: 1;
  font-size: 1.08rem;
  letter-spacing: -.035em;
}
.cwcs-creative-hub-lockup__name strong { color: var(--cw-text); font-weight: 900; }
.cwcs-creative-hub-lockup__name span { color: var(--cw-pink-dark); font-weight: 900; }
.cwcs-header-brand-label {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: .95rem;
  font-weight: 900;
  letter-spacing: -.025em;
}
.cwcs-header-brand-label:hover,
.cwcs-creative-hub-lockup:hover { color: var(--cw-pink-dark); }
@media (max-width: 600px) {
  .cwcs-creative-hub-lockup { gap: 7px; }
  .cwcs-creative-hub-lockup__mark { width: 38px; height: 38px; flex-basis: 38px; border-radius: 12px; font-size: .84rem; }
  .cwcs-creative-hub-lockup__name { font-size: .88rem; }
  .cwcs-header-brand-label { max-width: 115px; white-space: normal; line-height: 1.1; font-size: .78rem; }
}

/* v1.2.54 — ownership positioning and CW Build Validity. */
.cw-hub-ownership { background: #fff; }
.cw-hub-ownership .cw-hub-heading { max-width: 850px; }
.cw-hub-ownership-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.cw-hub-ownership-grid article {
  padding: 22px;
  border: 1px solid #e8def6;
  border-radius: 22px;
  background: #fbf9ff;
}
.cw-hub-ownership-grid span { font-size: 1.55rem; }
.cw-hub-ownership-grid h3 { margin: 10px 0 7px; font-size: 1.08rem; }
.cw-hub-ownership-grid p { margin: 0; color: #615c6d; font-size: .94rem; }
.cw-hub-validity {
  color: #fff;
  background: linear-gradient(135deg, #151024 0%, #322064 52%, #6f2ba5 100%);
}
.cw-hub-validity .cw-hub-kicker { color: #f4c8ff; }
.cw-hub-validity h2 { color: #fff; }
.cw-hub-validity-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
}
.cw-hub-validity-grid > div:first-child > p:not(.cw-hub-kicker):not(.cw-hub-validity-count) { color: #ddd5ec; }
.cw-hub-validity-count {
  display: inline-flex;
  gap: 7px;
  margin: 18px 0 0;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: .92rem;
}
.cw-hub-validity-panel {
  padding: 26px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 24px;
  background: rgba(255,255,255,.09);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.cw-hub-validity-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  background: #edfaef;
  color: #17652d;
}
.cw-hub-validity-panel ul { margin: 20px 0; padding-left: 22px; }
.cw-hub-validity-panel li { margin: 8px 0; }
.cw-hub-validity-panel p { margin: 0; color: #d9d2e8; font-size: .86rem; }
.cw-hub-product-body > .cwlmh-public-verification { margin: 9px 0 2px; }
.cw-hub-product-body > .cwlmh-public-verification .cwlmh-public-verification__badge { font-size: .76rem; }
.single-product .cwlmh-public-verification__details { max-width: 650px; }
@media (max-width: 980px) {
  .cw-hub-ownership-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cw-hub-validity-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cw-hub-ownership-grid { grid-template-columns: 1fr; }
  .cw-hub-validity-count { border-radius: 16px; }
}


/* v1.2.55 — flagship platform demos and ArtistFlow live-demo integration. */
.cw-hub-platforms { background: #f8f5fc; }
.cw-hub-platforms .cw-hub-heading { max-width: 830px; }
.cw-hub-platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}
.cw-hub-platform-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(24px, 4vw, 38px);
  overflow: hidden;
  border: 1px solid #e4d9f0;
  border-radius: 28px;
  background: #fff;
}
.cw-hub-platform-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: rgba(236,95,150,.09);
  pointer-events: none;
}
.cw-hub-platform-card.is-artistflow::after { background: rgba(76,108,255,.1); }
.cw-hub-platform-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  background: #fff0f6;
  font-size: 1.55rem;
}
.cw-hub-platform-card.is-artistflow .cw-hub-platform-icon { background: #eef1ff; }
.cw-hub-platform-preview {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid #e2e5f5;
}
.cw-hub-platform-label {
  margin: 18px 0 5px;
  color: var(--cw-pink-dark);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cw-hub-platform-card.is-artistflow .cw-hub-platform-label { color: #4059ca; }
.cw-hub-platform-card h3 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.1rem); }
.cw-hub-platform-card > p:not(.cw-hub-platform-label) { color: #625d6b; }
.cw-hub-platform-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 16px;
  margin: 10px 0 24px;
  padding: 0;
  list-style: none;
}
.cw-hub-platform-features li { position: relative; padding-left: 20px; color: #3e3946; }
.cw-hub-platform-features li::before { content: "✓"; position: absolute; left: 0; color: #2d8a49; font-weight: 900; }
.cw-hub-platform-roles { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 22px; }
.cw-hub-platform-roles span {
  padding: 6px 10px;
  border: 1px solid #dce1fb;
  border-radius: 999px;
  background: #f4f6ff;
  color: #3448a8;
  font-size: .8rem;
  font-weight: 800;
}
.cw-hub-platform-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.cw-hub-platform-actions .cw-hub-btn { min-height: 46px; }
.cw-hub-external-mark { font-size: .92em; }
.cwlmh-product-demo { margin: 18px 0; }
.cwlmh-product-demo__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #27203d;
  color: #fff !important;
  font-weight: 850;
  text-decoration: none;
}
.cwlmh-product-demo__button:hover,
.cwlmh-product-demo__button:focus { background: #4d3478; color: #fff !important; }
.cwlmh-product-demo__roles { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.cwlmh-product-demo__role { padding: 4px 9px; border-radius: 999px; background: #f0ecf6; font-size: .78rem; font-weight: 750; }
@media (max-width: 780px) {
  .cw-hub-platform-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .cw-hub-platform-features { grid-template-columns: 1fr; }
  .cw-hub-platform-card { border-radius: 22px; }
}

/* v1.2.56 — matching image-first flagship platform cards. */
.cw-hub-platform-art {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid #eadff3;
  border-radius: 24px;
  background: #f8effa;
  box-shadow: 0 16px 34px rgba(50, 28, 76, .12);
  text-decoration: none;
}
.cw-hub-platform-art.is-artistflow {
  border-color: #34204f;
  background: #090711;
  box-shadow: 0 16px 34px rgba(26, 10, 45, .22);
}
.cw-hub-platform-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease, filter .25s ease;
}
.cw-hub-platform-art:hover img,
.cw-hub-platform-art:focus img {
  transform: scale(1.018);
  filter: saturate(1.04);
}
.cw-hub-platform-art:focus-visible {
  outline: 3px solid var(--cw-pink);
  outline-offset: 4px;
}
.cw-hub-platform-card .cw-hub-platform-label { margin-top: 0; }
@media (prefers-reduced-motion: reduce) {
  .cw-hub-platform-art img { transition: none; }
  .cw-hub-platform-art:hover img,
  .cw-hub-platform-art:focus img { transform: none; }
}
@media (max-width: 520px) {
  .cw-hub-platform-art { border-radius: 19px; margin-bottom: 18px; }
}


/* v1.2.58: the hero showcase represents the CW Creative Hub umbrella brand. */
.cw-hub-brand-showcase {
  display: block;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}
.cw-hub-brand-showcase:hover {
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 42px 82px rgba(31,5,71,.34);
}
.cw-hub-brand-logo-wrap {
  margin: 18px auto 12px;
  border-radius: 24px;
  overflow: hidden;
  background: #05030b;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 18px 38px rgba(25,2,61,.24);
}
.cw-hub-brand-logo-wrap img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}
.cw-hub-brand-showcase-title {
  margin: 14px 0 12px;
  font-size: clamp(1.15rem,2vw,1.45rem);
  font-weight: 1000;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cw-hub-brand-tools span {
  background: rgba(6,3,19,.28);
  border: 1px solid rgba(255,255,255,.18);
}
@media (max-width: 600px) {
  .cw-hub-brand-logo-wrap { border-radius: 18px; }
  .cw-hub-brand-showcase-title { letter-spacing: .05em; }
}

/* v1.2.59 — spacing, typography, and flagship-card consistency. */
.cw-hub-hero {
  padding: clamp(58px, 7vw, 96px) 0;
}
.cw-hub-hero-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, .96fr);
  gap: clamp(34px, 5vw, 64px);
}
.cw-hub-hero-copy {
  max-width: 650px;
}
.cw-hub-hero h1 {
  max-width: 640px;
  font-size: clamp(3rem, 6.25vw, 5.65rem);
  line-height: .96;
  letter-spacing: -.05em;
}
.cw-hub-hero-copy > p:not(.cw-hub-pill):not(.cw-hub-small) {
  max-width: 610px;
  margin: 20px 0 0;
  font-size: clamp(1.03rem, 1.55vw, 1.22rem);
  line-height: 1.62;
}
.cw-hub-actions {
  gap: 10px;
  margin-top: 24px;
}
.cw-hub-btn {
  min-height: 48px;
  padding: 11px 19px;
  font-size: .96rem;
}
.cw-hub-small {
  max-width: 610px;
  margin-top: 16px;
  font-size: .92rem;
  line-height: 1.55;
}
.cw-hub-hero-visual {
  min-height: 420px;
}
.cw-hub-device {
  width: min(100%, 455px);
  padding: 24px;
  border-radius: 30px;
}
.cw-hub-brand-logo-wrap {
  margin: 15px auto 10px;
}
.cw-hub-brand-showcase-title {
  margin: 12px 0 11px;
  font-size: clamp(1.05rem, 1.65vw, 1.3rem);
}
.cw-hub-mini-tools {
  gap: 7px;
}
.cw-hub-mini-tools span {
  padding: 8px 10px;
  font-size: .78rem;
}
.cw-hub-quick {
  padding: 24px 0;
}
.cw-hub-quick-grid {
  gap: 16px;
}
.cw-hub-quick article {
  min-height: 150px;
  padding: 21px;
}
.cw-hub-quick span {
  font-size: 1.5rem;
}
.cw-hub-quick h2 {
  margin: 9px 0 7px;
  font-size: 1.05rem;
  line-height: 1.25;
}
.cw-hub-quick p {
  font-size: .94rem;
  line-height: 1.58;
}
.cw-hub-platforms.cw-hub-section {
  padding-top: clamp(58px, 7vw, 88px);
  padding-bottom: clamp(66px, 8vw, 100px);
}
.cw-hub-platforms .cw-hub-heading {
  margin-bottom: 30px;
}
.cw-hub-platforms .cw-hub-heading h2 {
  max-width: 780px;
  margin-inline: auto;
  font-size: clamp(2.2rem, 4.3vw, 3.85rem);
  line-height: 1.02;
}
.cw-hub-platforms .cw-hub-heading p:last-child {
  max-width: 760px;
  margin: 14px auto 0;
  font-size: 1.03rem;
  line-height: 1.62;
}
.cw-hub-platform-grid {
  align-items: stretch;
  gap: 24px;
  margin-top: 0;
}
.cw-hub-platform-card {
  padding: clamp(24px, 3vw, 32px);
  border-radius: 26px;
  box-shadow: 0 16px 42px rgba(59, 32, 92, .08);
}
.cw-hub-platform-art {
  flex: 0 0 auto;
  margin-bottom: 20px;
  border-radius: 22px;
}
.cw-hub-platform-label {
  margin: 0 0 7px;
  font-size: .75rem;
  letter-spacing: .1em;
}
.cw-hub-platform-card h3 {
  font-size: clamp(1.65rem, 2.4vw, 2rem);
  line-height: 1.12;
}
.cw-hub-platform-card > p:not(.cw-hub-platform-label) {
  min-height: 5.15em;
  margin: 12px 0 0;
  font-size: 1rem;
  line-height: 1.62;
}
.cw-hub-platform-features {
  margin: 18px 0 22px;
  gap: 10px 18px;
}
.cw-hub-platform-features li {
  font-size: .96rem;
  line-height: 1.45;
}
.cw-hub-platform-roles {
  min-height: 35px;
  margin: -2px 0 20px;
}
.cw-hub-platform-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}
.cw-hub-platform-actions .cw-hub-btn {
  width: 100%;
  min-height: 48px;
  padding-inline: 14px;
  text-align: center;
}
@media (max-width: 980px) {
  .cw-hub-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }
  .cw-hub-hero h1 {
    font-size: clamp(2.85rem, 6.8vw, 4.8rem);
  }
}
@media (max-width: 900px) {
  .cw-hub-hero-grid {
    grid-template-columns: 1fr;
  }
  .cw-hub-hero-copy {
    max-width: 760px;
  }
  .cw-hub-hero h1,
  .cw-hub-hero-copy > p:not(.cw-hub-pill):not(.cw-hub-small),
  .cw-hub-small {
    max-width: 720px;
  }
  .cw-hub-hero-visual {
    min-height: auto;
    padding-top: 12px;
  }
}
@media (max-width: 600px) {
  .cw-hub-hero {
    padding: 52px 0 58px;
  }
  .cw-hub-hero h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }
  .cw-hub-hero-copy > p:not(.cw-hub-pill):not(.cw-hub-small) {
    font-size: 1rem;
  }
  .cw-hub-device {
    padding: 18px;
    border-radius: 24px;
  }
  .cw-hub-quick article {
    min-height: auto;
  }
  .cw-hub-platform-card > p:not(.cw-hub-platform-label) {
    min-height: 0;
  }
  .cw-hub-platform-actions {
    grid-template-columns: 1fr;
  }
}


/* 1.2.60 — resilient application/product cards and approved Mic Block artwork. */
.cw-hub-product-grid {
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  align-items: stretch;
}
.cw-hub-product-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
}
.cw-hub-product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  background: linear-gradient(135deg, #180d2d, #3a1873 55%, #b22a9f);
}
.cw-hub-product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.cw-hub-product-body {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
}
.cw-hub-product-card h3,
.cw-hub-product-card h3 a,
.cw-hub-product-card p {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}
.cw-hub-product-footer {
  margin-top: auto;
  padding-top: 18px;
}

.woocommerce ul.products,
ul.products {
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  align-items: stretch;
}
.woocommerce ul.products li.product,
ul.products li.product {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.woocommerce ul.products li.product a img,
ul.products li.product a img {
  width: 100% !important;
  height: auto !important;
  max-height: none;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.32;
}
@media (max-width: 700px) {
  .cw-hub-product-grid,
  .woocommerce ul.products,
  ul.products {
    grid-template-columns: 1fr;
  }
}


/* 1.2.61 — menu colors follow Client Setup accent or Customizer color scheme. */
body.cw-menu-borders-off .main-navigation > ul.menu > li > a,
body.cw-menu-borders-off .main-navigation > .menu > li > a {
  border-color: transparent;
}
.main-navigation .sub-menu a {
  border-color: var(--cw-menu-border-color, var(--cw-accent, var(--cw-pink)));
}

/* 1.2.62 — coming-soon product state and waitlist presentation. */
.cw-coming-soon-price {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	font-weight: 800;
	color: var(--cw-accent, #6d4aff);
}
.cw-coming-soon-disabled,
.woocommerce a.button.cw-coming-soon-disabled {
	cursor: not-allowed;
	opacity: .72;
	pointer-events: none;
}
.cw-coming-soon-panel {
	margin: 1rem 0;
	padding: 1rem 1.1rem;
	border: 1px solid color-mix(in srgb, var(--cw-accent, #6d4aff) 36%, transparent);
	border-radius: 16px;
	background: color-mix(in srgb, var(--cw-accent, #6d4aff) 8%, #fff);
}
.cw-coming-soon-panel strong {
	display: block;
	margin-bottom: .3rem;
	font-size: 1.05rem;
}
.cw-coming-soon-panel p {
	margin: 0 0 .8rem;
}
.cw-product-badge:first-of-type,
.cw-hub-product-type {
	max-width: 100%;
}


/* v1.2.63 — reconnect saved Customizer footer content to landing footer. */
.cwcs-customizer-footer {
  padding: 42px 0 36px;
  border-top: 1px solid rgba(255,255,255,.14);
  background: #fff;
  color: var(--cw-text);
}
.cwcs-customizer-footer .site-footer__grid { align-items: start; }
.cwcs-customizer-footer h3,
.cwcs-customizer-footer h4 { margin: 0 0 12px; color: var(--cw-text); }
.cwcs-customizer-footer p { margin: 0; color: var(--cw-muted); }
.cwcs-customizer-footer ul { margin: 14px 0 0; padding: 0; list-style: none; }
.cwcs-customizer-footer li + li { margin-top: 8px; }
.cwcs-customizer-footer a { color: var(--cw-text); text-decoration: none; }
.cwcs-customizer-footer a:hover,
.cwcs-customizer-footer a:focus-visible { color: var(--cw-pink); text-decoration: underline; }
.cwcs-customizer-footer__content > :first-child { margin-top: 0; }
.cwcs-customizer-footer__content > :last-child { margin-bottom: 0; }
.cwcs-customizer-footer .footer-widget { margin: 0; }
@media (max-width: 680px) {
  .cwcs-customizer-footer { padding: 34px 0 28px; }
  .cwcs-customizer-footer .site-footer__grid { gap: 26px; }
}
