/* ==========================================================================
   CIR My Project — Stylesheet
   The Cast Iron Radiator Company
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Heart / Wishlist Button — Active State
   -------------------------------------------------------------------------- */

.cir-wishlist-btn.cir-wishlist-active {
  border-color: #832E31;
}

.cir-wishlist-btn.cir-wishlist-active svg {
  fill: #832E31;
  stroke: #832E31;
}

/* --------------------------------------------------------------------------
   2. Toast Notification
   -------------------------------------------------------------------------- */

.cir-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid #E8E3DC;
  border-radius: 8px;
  padding: 12px 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #1A1A1A;
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  pointer-events: none;
  max-width: 420px;
  white-space: nowrap;
}

.cir-toast.cir-toast-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cir-toast.cir-toast-hiding {
  transform: translateX(-50%) translateY(0);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cir-toast-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.cir-toast-icon svg {
  width: 18px;
  height: 18px;
  fill: #832E31;
  stroke: #832E31;
}

.cir-toast-text {
  flex: 1;
  color: #1A1A1A;
  line-height: 1.4;
}

.cir-toast-link {
  flex-shrink: 0;
  color: #832E31;
  font-weight: 600;
  text-decoration: none;
  margin-left: 6px;
}

.cir-toast-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   3. Header — My Project Nav Link
   -------------------------------------------------------------------------- */

.nav-my-project-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-my-project-link svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.nav-my-project-link:hover svg {
  stroke: #832E31;
}

.nav-my-project-link .cir-project-count {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 18px;
  height: 18px;
  background: var(--cir-burgundy, #832E31);
  color: #FFFFFF;
  font-family: var(--cir-font-ui, 'Inter', sans-serif);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  pointer-events: none;
}

.cir-project-count:empty {
  display: none;
}

/* --------------------------------------------------------------------------
   3a. Hide WordPress Page Title (when JS app renders)
   -------------------------------------------------------------------------- */

.page-id-12392 .page-hero {
  display: none;
}

/* --------------------------------------------------------------------------
   4. My Project Page — Container
   -------------------------------------------------------------------------- */

#cir-my-project-app {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 120px;
  font-family: 'Inter', sans-serif;
  color: #1A1A1A;
  background: #FDFAF7;
  min-height: 60vh;
}

/* --------------------------------------------------------------------------
   4a. Empty State
   -------------------------------------------------------------------------- */

.cir-project-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 440px;
  margin: 80px auto;
  padding: 0 20px;
}

.cir-project-empty-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  opacity: 0.35;
}

.cir-project-empty-icon svg {
  width: 64px;
  height: 64px;
  stroke: #D4CCC4;
  fill: none;
  stroke-width: 1;
}

.cir-project-empty-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 12px;
  line-height: 1.3;
}

.cir-project-empty-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #5A5549;
  line-height: 1.6;
  margin: 0 0 28px;
}

.cir-project-empty-cta {
  display: inline-block;
  background: #832E31;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease;
}

.cir-project-empty-cta:hover {
  background: #6B2225;
}

/* --------------------------------------------------------------------------
   4b. Page Header
   -------------------------------------------------------------------------- */

.cir-project-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 8px;
}

.cir-project-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cir-project-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0;
  line-height: 1.2;
}

.cir-project-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #5A5549;
  margin: 0;
}

.cir-project-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #8A8278;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   4c. Upgrade Banner
   -------------------------------------------------------------------------- */

.cir-project-upgrade-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid #E8E3DC;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 24px;
}

.cir-project-upgrade-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.cir-project-upgrade-icon svg {
  width: 20px;
  height: 20px;
}

.cir-project-upgrade-text {
  flex: 1;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #5A5549;
  line-height: 1.5;
}

.cir-project-upgrade-btn {
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #FFFFFF;
  background: #832E31;
  border: none;
  padding: 8px 18px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.cir-project-upgrade-btn:hover {
  background: #6B2225;
}

/* --------------------------------------------------------------------------
   4d. Product Grid
   -------------------------------------------------------------------------- */

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

/* --------------------------------------------------------------------------
   4e. Product Card
   -------------------------------------------------------------------------- */

.cir-project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid #E8E3DC;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.cir-project-card:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Card image */
.cir-project-card-image {
  position: relative;
  width: 100%;
  max-height: 180px;
  background: #D8D0C6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.cir-project-card-image img,
.cir-project-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.cir-project-card-img-placeholder {
  width: 100%;
  height: 180px;
  background: #D8D0C6;
}

/* Remove button */
.cir-project-card-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #E8E3DC;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  color: #8A8278;
  line-height: 1;
  padding: 0;
  transition: color 0.15s ease, border-color 0.15s ease;
  z-index: 2;
}

.cir-project-card-remove:hover {
  color: #832E31;
  border-color: #832E31;
}

/* Card info container */
.cir-project-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  flex: 1;
}

/* Product name */
.cir-project-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 600;
  color: #1A1A1A;
  margin: 0;
  line-height: 1.35;
}

.cir-project-card-name a {
  color: inherit;
  text-decoration: none;
}

.cir-project-card-name a:hover {
  color: #832E31;
}

/* Configuration summary */
.cir-project-card-config {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #8A8278;
  line-height: 1.45;
  margin: 0;
}

/* Accessories (valves, pipe sleeves) */
.cir-project-card-accessories {
  font-family: 'Inter', sans-serif;
}

.cir-project-acc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}

.cir-project-acc-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.cir-project-acc-label {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 600;
  color: #C5A467;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cir-project-acc-value {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #1A1A1A;
  line-height: 1.3;
}

.cir-project-acc-none {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  color: #8A8278;
  font-size: 11px;
}

/* Spec pills (BTU, Watts) */
.cir-project-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

.cir-project-spec-pill {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #5A5549;
  background: #F5F0EA;
  border: none;
  border-radius: 3px;
  padding: 4px 10px;
  white-space: nowrap;
}

.cir-project-spec-highlight {
  color: #832E31;
  background: rgba(131, 46, 49, 0.08);
}

/* Price */
.cir-project-card-price {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #832E31;
  margin: 4px 0 0;
}

/* Notes — collapsible textarea */
.cir-project-card-notes {
  padding: 0 16px 4px;
}

.cir-project-notes-toggle {
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #8A8278;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cir-project-notes-toggle:hover {
  color: #5A5549;
}

.cir-project-notes-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.cir-project-card-notes.cir-project-notes-expanded .cir-project-notes-toggle svg {
  transform: rotate(180deg);
}

.cir-project-card-notes textarea,
.cir-project-notes-input {
  display: none;
  width: 100%;
  min-height: 56px;
  margin-top: 6px;
  padding: 8px 10px;
  border: 1px solid #E8E3DC;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #1A1A1A;
  background: #FFFFFF;
  resize: vertical;
  outline: none;
  transition: background 0.15s ease, border-color 0.15s ease;
  box-sizing: border-box;
}

.cir-project-card-notes.cir-project-notes-expanded textarea,
.cir-project-notes-expanded .cir-project-notes-input {
  display: block;
}

.cir-project-card-notes textarea:focus {
  background: #FDFAF7;
  border-color: #D4CCC4;
}

.cir-project-card-notes textarea::placeholder {
  color: #8A8278;
}

/* Card action buttons */
.cir-project-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #E8E3DC;
  margin-top: auto;
}

.cir-project-card-actions a,
.cir-project-card-actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.15s ease;
  text-align: center;
}

.cir-project-card-btn-view {
  background: #FFFFFF;
  color: #1A1A1A;
  border-right: 1px solid #E8E3DC;
}

.cir-project-card-btn-view:hover {
  background: #FDFAF7;
}

.cir-project-card-btn-basket {
  background: #832E31;
  color: #FFFFFF;
}

.cir-project-card-btn-basket:hover {
  background: #6B2225;
}

/* --------------------------------------------------------------------------
   4f. Summary Bar
   -------------------------------------------------------------------------- */

.cir-project-summary {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #FFFFFF;
  border-top: 1px solid #E8E3DC;
  padding: 14px 24px;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.04);
}

.cir-project-summary-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.cir-project-summary-count {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1A1A1A;
}

.cir-project-summary-total {
  font-weight: 600;
  color: #832E31;
  margin-left: 4px;
}

.cir-project-summary-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cir-project-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
  border: none;
}

.cir-project-btn svg {
  width: 16px;
  height: 16px;
}

.cir-project-btn-outline {
  background: #FFFFFF;
  color: #1A1A1A;
  border: 1px solid #D4CCC4;
}

.cir-project-btn-outline:hover {
  background: #FDFAF7;
  border-color: #D4CCC4;
}

.cir-project-btn-primary {
  background: #832E31;
  color: #FFFFFF;
  border: 1px solid #832E31;
}

.cir-project-btn-primary:hover {
  background: #6B2225;
  border-color: #6B2225;
}

.cir-project-btn-disabled {
  background: #E8E3DC;
  color: #8A8278;
  border: 1px solid #E8E3DC;
  cursor: default;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   5. Modal
   -------------------------------------------------------------------------- */

.cir-project-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cir-project-modal {
  background: #FFFFFF;
  max-width: 440px;
  width: 100%;
  border: 1px solid #D4CCC4;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cir-project-modal h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: #1A1A1A;
  margin: 0;
}

.cir-project-modal input[type="text"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #D4CCC4;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  background: #FFFFFF;
  outline: none;
  box-sizing: border-box;
}

.cir-project-modal input[type="text"]:focus {
  border-color: #832E31;
}

.cir-project-modal button[type="submit"] {
  width: 100%;
  padding: 14px;
  background: #832E31;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.cir-project-modal button[type="submit"]:hover {
  background: #6B2225;
}

.cir-project-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  font-size: 24px;
  color: #8A8278;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

.cir-project-modal-close:hover {
  color: #1A1A1A;
}

.cir-project-modal {
  position: relative;
}

.cir-project-modal-submit {
  width: 100%;
}

/* --------------------------------------------------------------------------
   6. Room Sections
   -------------------------------------------------------------------------- */

.cir-project-room {
  background: #FFFFFF;
  border: 1px solid #E8E3DC;
}

.cir-project-room-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  cursor: pointer;
  border-bottom: 1px solid #E8E3DC;
}

.cir-project-room-header:hover {
  background: #FDFAF7;
}

.cir-project-room-left {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

.cir-project-room-left .room-chevron {
  transition: transform 0.2s ease;
  color: #8A8278;
}

.cir-project-room.cir-project-room-expanded .room-chevron {
  transform: rotate(90deg);
}

.cir-project-room-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: #1A1A1A;
  margin: 0;
}

.cir-project-room-count {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #8A8278;
}

.cir-project-room-right {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}

.cir-project-room-total {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #832E31;
}

.cir-project-room-action {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #8A8278;
  cursor: pointer;
  transition: color 0.15s ease;
}

.cir-project-room-action:hover {
  color: #5A5549;
}

.cir-project-room-cards {
  padding: 16px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cir-project-room-collapsed .cir-project-room-cards {
  display: none;
}

.cir-project-room-collapsed .cir-project-room-header {
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   7. Unsorted Section
   -------------------------------------------------------------------------- */

.cir-project-unsorted {
  border: 1px dashed #D4CCC4;
}

.cir-project-unsorted .cir-project-room-header {
  background: transparent;
}

.cir-project-unsorted .cir-project-room-name {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #8A8278;
}

.cir-project-unsorted-hint {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #D4CCC4;
  font-style: italic;
}

/* --------------------------------------------------------------------------
   8. Card Move Dropdown
   -------------------------------------------------------------------------- */

.cir-project-move-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.cir-project-move-label {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 600;
  color: #C5A467;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cir-project-card-move,
.cir-project-move-select {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #5A5549;
  border: 1px solid #E8E3DC;
  background: #FDFAF7;
  padding: 6px 10px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A8278' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 28px;
  width: 100%;
  outline: none;
}

.cir-project-card-move:focus,
.cir-project-move-select:focus {
  border-color: #832E31;
}

/* --------------------------------------------------------------------------
   9. Room Controls Bar
   -------------------------------------------------------------------------- */

.cir-project-room-controls {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
}

.cir-project-room-controls button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  color: #5A5549;
  border: 1px solid #E8E3DC;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cir-project-room-controls button:hover {
  background: #FDFAF7;
  border-color: #832E31;
  color: #832E31;
}

.cir-project-room-controls button svg {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   10. Comparison Mode
   -------------------------------------------------------------------------- */

.cir-project-compare-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #8A8278;
  cursor: pointer;
  margin-bottom: 6px;
}

.cir-project-compare-check {
  accent-color: #832E31;
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.cir-project-compare-bar {
  position: fixed;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: #FFFFFF;
  border: 1px solid #D4CCC4;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
  z-index: 99;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #1A1A1A;
}

.cir-project-compare-bar[style*="display: none"] {
  display: none !important;
}

/* Comparison overlay */
.cir-project-compare-overlay {
  padding: 0;
}

.cir-project-compare-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 48px;
  background: #FFFFFF;
  border-bottom: 1px solid #E8E3DC;
}

.cir-project-compare-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: #1A1A1A;
  margin: 0;
}

.cir-project-compare-close {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #8A8278;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.cir-project-compare-close:hover {
  color: #5A5549;
}

.cir-project-compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
}

.cir-project-compare-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #E8E3DC;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #1A1A1A;
  vertical-align: middle;
}

.cir-project-compare-label-cell {
  width: 140px;
  font-weight: 500;
  color: #8A8278 !important;
  background: #FDFAF7;
  border-right: 1px solid #E8E3DC;
}

.cir-project-compare-data-cell {
  background: #FFFFFF;
  border-right: 1px solid #E8E3DC;
}

.cir-project-compare-best {
  background: #FDF6F7 !important;
  color: #832E31 !important;
  font-weight: 600;
}

.cir-project-compare-img-cell {
  height: 160px;
  background: #D8D0C6;
  border-right: 1px solid #E8E3DC;
}

.cir-project-compare-img-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cir-project-compare-name-cell {
  font-family: 'Playfair Display', serif !important;
  font-size: 14px !important;
}

.cir-project-compare-price-cell {
  font-size: 14px !important;
  font-weight: 600;
  color: #832E31 !important;
}

.cir-project-compare-btn-cell {
  padding: 10px 14px;
  border-right: 1px solid #E8E3DC;
}

.cir-project-compare-btn-cell .cir-project-btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   11. Shared Project View
   -------------------------------------------------------------------------- */

.cir-project-shared-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #FFFFFF;
  border: 1px solid #E8E3DC;
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #5A5549;
}

.cir-project-shared-banner button {
  padding: 10px 20px;
  background: #832E31;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.cir-project-shared-banner button:hover {
  background: #6B2225;
}

.cir-project-loading {
  text-align: center;
  padding: 80px 48px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #8A8278;
}

.cir-project-not-found {
  text-align: center;
  padding: 80px 48px;
}

.cir-project-not-found h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #1A1A1A;
  margin-bottom: 12px;
}

.cir-project-not-found p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #5A5549;
}

/* Share modal URL input */
.cir-project-share-url-row {
  display: flex;
  gap: 0;
}

.cir-project-share-url-input {
  flex: 1;
  padding: 10px 12px;
  background: #FDFAF7;
  border: 1px solid #D4CCC4;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #8A8278;
  outline: none;
}

.cir-project-share-copy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #832E31;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.cir-project-share-copy-btn:hover {
  background: #6B2225;
}

/* --------------------------------------------------------------------------
   12. Responsive
   -------------------------------------------------------------------------- */

/* Tablet — 768px to 1024px */
@media (max-width: 1024px) {
  .cir-project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cir-project-room-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile — below 768px */
@media (max-width: 767px) {
  #cir-my-project-app {
    padding: 24px 16px 160px;
  }

  .cir-project-title {
    font-size: 26px;
  }

  .cir-project-grid {
    grid-template-columns: 1fr;
  }

  .cir-project-room-cards {
    grid-template-columns: 1fr;
  }

  .cir-project-room-header {
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Upgrade banner: hide text, keep icon + link */
  .cir-project-upgrade-text {
    display: none;
  }

  .cir-project-upgrade-banner {
    justify-content: space-between;
  }

  /* Summary bar stacks vertically */
  .cir-project-summary {
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
    align-items: stretch;
  }

  .cir-project-summary-count {
    justify-content: center;
  }

  .cir-project-summary-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .cir-project-btn {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    font-size: 12px;
  }

  /* Toast full width on mobile */
  .cir-toast {
    left: 16px;
    right: 16px;
    transform: translateX(0) translateY(100%);
    max-width: none;
    white-space: normal;
  }

  .cir-toast.cir-toast-visible {
    transform: translateX(0) translateY(0);
  }

  .cir-toast.cir-toast-hiding {
    transform: translateX(0) translateY(0);
  }

  /* Empty state adjustments */
  .cir-project-empty {
    margin: 48px auto;
  }

  .cir-project-empty-title {
    font-size: 24px;
  }
}
