/* Core Plugin Styles */
.bro-grid { display: grid; gap: 28px; }
.bro-grid-2 { grid-template-columns: repeat(2, 1fr); }
.bro-grid-3 { grid-template-columns: repeat(3, 1fr); }

.bro-card {
  background: var(--br-panel, #24201d);
  border: 1px solid var(--br-border, #3d3530);
  padding: 25px;
  transition: border-color 0.2s;
  text-align: left;
  display: block;
}
.bro-card:hover { border-color: var(--br-accent, #a86243); }
.bro-card-image { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.bro-card h3 { font: normal 31px var(--br-serif, "Instrument Serif", serif); margin: 15px 0 5px; }

.bro-price { font: normal 25px var(--br-serif, "Instrument Serif", serif); color: #fff; }
.bro-muted { color: var(--br-muted, #a69e92); }

.bro-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bro-field { margin-bottom: 18px; }
.bro-field label {
  display: block;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 11px;
  color: var(--br-muted, #a69e92);
  margin-bottom: 7px;
}
.bro-field input, .bro-field select, .bro-field textarea {
  width: 100%;
  background: #171412;
  border: 1px solid var(--br-border, #3d3530);
  color: var(--br-text, #eee9df);
  padding: 13px;
  font: inherit;
  box-sizing: border-box;
}
.bro-field textarea { min-height: 120px; }

.bro-notice { border: 1px solid var(--br-accent, #a86243); padding: 18px; margin: 20px 0; color: #fff; }

.bro-chat { position: fixed; right: 20px; bottom: 20px; z-index: 30; }
.bro-chat-toggle {
  border: 0;
  border-radius: 50%;
  width: 57px;
  height: 57px;
  background: var(--br-accent, #a86243);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.bro-chat-box {
  display: none;
  width: 350px;
  max-width: calc(100vw - 40px);
  height: 470px;
  background: var(--br-panel, #24201d);
  border: 1px solid var(--br-border, #3d3530);
  box-shadow: 0 10px 50px rgba(0,0,0,0.6);
  flex-direction: column;
  margin-bottom: 12px;
  color: var(--br-text, #eee9df);
}
.bro-chat.open .bro-chat-box { display: flex; }
.bro-chat-head { padding: 14px; border-bottom: 1px solid var(--br-border, #3d3530); display: flex; justify-content: space-between; }
.bro-chat-head button { background: none; border: 0; color: inherit; font-size: 20px; cursor: pointer; }
.bro-chat-log { flex: 1; overflow: auto; padding: 15px; }
.bro-chat-msg { padding: 9px 12px; background: #332c27; margin: 9px 0; border-radius: 3px; font-size: 13px; }
.bro-chat-msg.user { background: var(--br-accent, #a86243); margin-left: 25px; }
.bro-chat-form { padding: 10px; border-top: 1px solid var(--br-border, #3d3530); display: flex; gap: 5px; }
.bro-chat-form input { min-width: 0; flex: 1; background: #171412; border: 1px solid var(--br-border, #3d3530); color: #fff; padding: 9px; box-sizing: border-box;}
.bro-chat-form button { padding: 9px 15px !important; }

.bro-cookie {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #111;
  color: #eee;
  padding: 15px 24px;
  z-index: 40;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.bro-cookie button { background: var(--br-accent, #a86243); border: 0; color: #fff; padding: 9px 18px; cursor: pointer; }

@media(max-width: 800px) {
  .bro-grid-2, .bro-grid-3, .bro-form-grid { grid-template-columns: 1fr; }
  .bro-cookie { flex-direction: column; text-align: center; }
  .bro-cookie button { margin-top: 10px; }
}
