
.shop-grid .product .woocommerce-LoopProduct-link img {
  height: 340px;
}

@media (min-width: 2000px) {
  .shop-grid {
    grid-template-columns: repeat(2, minmax(420px, 1fr));
  }
}

.shop-grid .product {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  padding: 40px;
}

.shop-grid .product .woocommerce-LoopProduct-link {
  display: block;
}

.shop-grid .product .woocommerce-LoopProduct-link img {
  height: 380px;
}

.shop-grid .product h2 {
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  margin-top: 0;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.shop-grid .product .price {
  font-size: 1rem;
}

.shop-grid .product p {
  margin: 0;
  line-height: 1.4;
  color: var(--muted);
}

.shop-grid .product .button {
  padding: 14px 0;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

@media (max-width: 960px) {
  .shop-grid .product img {
    height: 320px;
  }
}


.shop-grid {
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
}

.shop-grid .product {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  padding: 40px;
  min-height: 540px;
}

.shop-grid .product h2 {
  font-size: 1.4rem;
  text-transform: none;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
  white-space: nowrap;
}

.shop-grid .product .price {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
}

.shop-grid .product p {
  margin: 0;
  line-height: 1.5;
  color: var(--muted);
}

.shop-grid .product img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 18px;
}

.shop-grid .product .button,
.shop-grid .product .woocommerce-LoopProduct-link .button,
.shop-grid .product .added_to_cart {
  width: auto;
  align-self: center;
  padding: 14px 32px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .shop-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }

  .shop-grid .product {
    min-height: 520px;
  }

  .shop-grid .product img {
    height: 300px;
  }
}


.shop-grid .product h2 {
  white-space: normal;
  word-break: break-word;
}

.shop-grid .product img {
  height: auto;
  min-height: 400px;
  max-height: 420px;
}

.shop-grid .product .button {
  display: inline-flex;
  justify-content: center;
  padding: 12px 34px;
}


.shop-grid .product h2 {
  text-transform: none;
  letter-spacing: 0.04em;
  white-space: normal !important;
}

.shop-grid .product .button,
.shop-grid .product .woocommerce-LoopProduct-link .button,
.shop-grid .product .added_to_cart {
  white-space: nowrap;
}

.community-main,
.community-sidebar article {
  background: linear-gradient(135deg, rgba(17, 18, 24, 0.92), rgba(24, 27, 36, 0.88));
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.35);
}

.community-main {
  font-size: 1rem;
}

.community-main p,
.community-main li,
.community-main label,
.community-main input,
.community-main select,
.community-main textarea,
.community-main button {
  font-family: 'Inter', 'Space Grotesk', system-ui, sans-serif;
}

.community-main a,
.community-sidebar a {
  color: var(--text);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.community-main a:hover,
.community-sidebar a:hover {
  color: var(--accent);
}

.community-main .button,
.community-main button,
.community-main input[type='submit'],
.community-main input[type='button'],
.community-main .bbp-submit-wrapper button,
.community-main .bbp-submit-wrapper input {
  border-radius: 999px;
  border: 1px solid rgba(255, 204, 51, 0.55);
  background: linear-gradient(135deg, #ffcc33, #f0a500);
  color: #101014;
  font-weight: 700;
  padding: 11px 20px;
  text-decoration: none;
  cursor: pointer;
}

.community-main .button:hover,
.community-main button:hover,
.community-main input[type='submit']:hover,
.community-main input[type='button']:hover {
  filter: brightness(1.03);
}

.community-main input[type='text'],
.community-main input[type='email'],
.community-main input[type='url'],
.community-main input[type='password'],
.community-main input[type='search'],
.community-main input[type='number'],
.community-main select,
.community-main textarea {
  width: 100%;
  background: rgba(10, 11, 16, 0.82);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 11px 12px;
  margin-top: 4px;
}

.community-main input:focus,
.community-main select:focus,
.community-main textarea:focus {
  border-color: rgba(255, 204, 51, 0.85);
  box-shadow: 0 0 0 3px rgba(255, 204, 51, 0.15);
  outline: none;
}

.community-main blockquote,
#bbpress-forums blockquote {
  margin: 18px 0;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  color: #e6e9f2;
}

#bbpress-forums {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}

#bbpress-forums ul.bbp-topics,
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-replies {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(7, 8, 12, 0.35);
}

#bbpress-forums li.bbp-header,
#bbpress-forums li.bbp-footer {
  background: rgba(255, 255, 255, 0.05);
  color: #dce0ee;
  padding: 10px 14px;
}

#bbpress-forums li.bbp-body ul.forum,
#bbpress-forums li.bbp-body ul.topic,
#bbpress-forums li.bbp-body div.reply {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
}

#bbpress-forums li.bbp-body ul.forum:hover,
#bbpress-forums li.bbp-body ul.topic:hover,
#bbpress-forums li.bbp-body div.reply:hover {
  background: rgba(255, 255, 255, 0.03);
}

#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-title,
#bbpress-forums .bbp-reply-header,
#bbpress-forums .bbp-topic-meta,
#bbpress-forums .bbp-forum-content {
  font-family: 'Inter', 'Space Grotesk', system-ui, sans-serif;
}

#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-title {
  font-size: 1.03rem;
  font-weight: 600;
}

#bbpress-forums .bbp-forum-title a,
#bbpress-forums .bbp-topic-title a,
#bbpress-forums .bbp-topic-permalink {
  color: var(--text);
  text-decoration: none;
}

#bbpress-forums .bbp-forum-title a:hover,
#bbpress-forums .bbp-topic-title a:hover,
#bbpress-forums .bbp-topic-permalink:hover {
  color: var(--accent);
}

#bbpress-forums .bbp-topic-meta,
#bbpress-forums .bbp-forum-content,
#bbpress-forums .bbp-author-role,
#bbpress-forums .bbp-reply-post-date {
  color: var(--muted);
  font-size: 0.9rem;
}

#bbpress-forums .bbp-pagination,
#bbpress-forums .bbp-topic-pagination {
  margin: 18px 0 20px;
  font-size: 0.9rem;
  color: var(--muted);
}

#bbpress-forums .bbp-pagination-links a,
#bbpress-forums .bbp-pagination-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-right: 6px;
  color: var(--text);
  text-decoration: none;
}

#bbpress-forums .bbp-pagination-links a:hover,
#bbpress-forums .bbp-pagination-links span.current {
  border-color: rgba(255, 204, 51, 0.7);
  background: rgba(255, 204, 51, 0.16);
  color: var(--accent);
}

#bbpress-forums .bbp-reply-header,
#bbpress-forums .bbp-topic-header {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 12px;
}

#bbpress-forums .bbp-reply-content,
#bbpress-forums .bbp-topic-content {
  padding: 14px;
}

#bbpress-forums .bbp-template-notice,
.community-main .wpas,
.community-main .wpas-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px;
}

.community-main table,
#bbpress-forums table,
.community-main .wpas table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.community-main th,
.community-main td,
#bbpress-forums th,
#bbpress-forums td,
.community-main .wpas th,
.community-main .wpas td {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.community-main thead th,
#bbpress-forums thead th,
.community-main .wpas thead th {
  background: rgba(255, 255, 255, 0.04);
  color: #e9ebf5;
}

.community-main,
.community-main table {
  min-height: 640px;
}

.community-main {
  min-height: 720px;
}

#bbpress-forums {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.6;
  letter-spacing: 0.01em;
  min-height: 700px;
  display: block;
}

#bbpress-forums .bbp-search-form {
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#bbpress-forums .bbp-search-form form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#bbpress-forums .bbp-search-form input[type="text"] {
  flex: 1 1 280px;
}

#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-topics,
#bbpress-forums ul.bbp-replies {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#bbpress-forums li.bbp-forum,
#bbpress-forums li.bbp-topic,
#bbpress-forums li.bbp-reply {
  padding: 20px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

#bbpress-forums .bbp-reply-header,
#bbpress-forums .bbp-topic-header {
  font-size: 0.95rem;
}

#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-title,
#bbpress-forums .bbp-paragraph,
#bbpress-forums .bbp-topic-content,
#bbpress-forums .bbp-reply-content {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.5;
}

#bbpress-forums .bbp-topic-meta,
#bbpress-forums .bbp-forum-content,
#bbpress-forums .bbp-author-role,
#bbpress-forums .bbp-reply-post-date {
  font-size: 0.95rem;
}

#bbpress-forums .bbp-topic-meta span,
#bbpress-forums .bbp-reply-post-date {
  color: var(--muted);
}

.tickets-main .wpas,
.tickets-main .wpas-form,
.tickets-main .wpas-ticket-list {
  color: var(--text);
}

/* v0.1.1 shop listing cleanup */
.shop-content .woocommerce-result-count,
.shop-content .woocommerce-ordering,
.shop-content .woocommerce-breadcrumb,
.shop-content .woocommerce-viewing {
  display: none !important;
}

.shop-content .shop-grid > .products,
.shop-content .woocommerce .shop-grid > .products,
.shop-content ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.shop-content ul.products li.product,
.shop-content .shop-grid > .products > li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: 20px;
  background: rgba(14, 14, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 32px rgba(0, 0, 0, 0.3);
}

.shop-content ul.products li.product > a,
.shop-content ul.products li.product .woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

