.cp-header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding: 28px; background: #fff; border: 1px solid var(--border); border-radius: 16px; margin-bottom: 20px; }
.cp-header-main { display: flex; gap: 20px; align-items: flex-start; }
.cp-logo { width: 84px; height: 84px; border-radius: 14px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 800; overflow: hidden; flex-shrink: 0; }
.cp-logo img { width: 100%; height: 100%; object-fit: cover; }
.cp-name { font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.cp-verified { font-size: 12.5px; font-weight: 700; color: #16A34A; display: inline-flex; align-items: center; gap: 4px; background: #ECFDF5; padding: 3px 10px; border-radius: 999px; }
.cp-rating { margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.cp-rating-badge { display: inline-flex; align-items: center; gap: 4px; background: #16A34A; color: #fff; font-size: 13.5px; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.cp-rating-badge i { font-size: 11px; }
.cp-stars { color: #F59E0B; font-size: 14px; }
.cp-rating-count { font-size: 12.5px; color: var(--text-muted); }
.cp-meta { font-size: 13px; color: var(--text-muted); margin: 0 0 10px; }
.cp-quick-info { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.cp-quick-info-item { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--navy); font-weight: 600; }
.cp-quick-info-item i { color: #16A34A; font-size: 13px; }
.cp-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.cp-grid { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start; }
@media (max-width: 900px) { .cp-grid { grid-template-columns: 1fr; } }
.cp-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.cp-tabs .nav-link {
  border: none; border-bottom: 2.5px solid transparent; border-radius: 0;
  padding: 12px 16px; font-size: 14px; font-weight: 700; color: var(--text-muted); background: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.cp-tabs .nav-link:hover { color: var(--navy); }
.cp-tabs .nav-link.active { color: var(--navy); border-bottom-color: var(--orange); background: none; }
.cp-tab-content { min-height: 200px; }
.cp-about-list { list-style: none; padding: 0; margin: 12px 0 0; }
.cp-about-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 13.5px; }
.cp-about-list li span { color: var(--text-muted); }
.cp-sidebar { position: sticky; top: 16px; }
.cp-contact-card, .cp-other-sellers { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px; margin-bottom: 16px; }
.cp-contact-card h6, .cp-other-sellers h6 { font-size: 14px; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.cp-other-seller-item { display: block; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 13px; color: var(--navy); text-decoration: none; }
.cp-other-seller-item:last-child { border-bottom: none; }
.cp-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.cp-photo-grid img { width: 100%; height: 140px; object-fit: cover; border-radius: 10px; }
.cp-empty { color: var(--text-muted); font-size: 13.5px; padding: 24px 0; text-align: center; }

.cp-rating-summary { display: flex; gap: 28px; padding: 16px 0 20px; border-bottom: 1px solid var(--border); margin-bottom: 16px; flex-wrap: wrap; }
.cp-rating-summary-score { text-align: center; min-width: 90px; }
.cp-rating-big { font-size: 36px; font-weight: 800; color: var(--navy); line-height: 1; }
.cp-rating-bars { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.cp-rating-bar-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); }
.cp-rating-bar-label { width: 32px; flex-shrink: 0; }
.cp-rating-bar-track { flex: 1; height: 6px; background: #F1F5F9; border-radius: 4px; overflow: hidden; }
.cp-rating-bar-fill { height: 100%; background: #F59E0B; border-radius: 4px; }
.cp-rating-bar-count { width: 24px; text-align: right; flex-shrink: 0; }

.cp-review-item { padding: 10px 0; border-bottom: 1px dashed var(--border); }
.cp-review-item-head { display: flex; justify-content: space-between; font-size: 13px; }
.cp-review-item-comment { font-size: 13px; margin: 4px 0 0; color: var(--text-muted); }

.cp-write-review { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.cp-write-review h6 { font-size: 14px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.cp-star-picker { display: flex; gap: 4px; margin-bottom: 10px; }
.cp-star-picker-btn { background: none; border: none; font-size: 26px; line-height: 1; color: #E2E8F0; cursor: pointer; padding: 0; }
.cp-star-picker-btn.is-active { color: #F59E0B; }

/* ==========================================================================
   Profile: gallery strip, split service / product-dealer layouts
   ========================================================================== */

/* One band: a large lead photo spanning both rows, then four thumbnails in a
   2x2 block beside it. */
.cp-gallery-strip { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 108px 108px; gap: 6px; margin-bottom: 18px; }
.cp-gallery-cell { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--bg); display: block; }
.cp-gallery-cell.lead { grid-row: span 2; }
.cp-gallery-cell img { width: 100%; height: 100%; object-fit: cover; }
.cp-gallery-more {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(15,23,42,0.55); color: #fff; font-size: 16px; font-weight: 700;
}
@media (max-width: 768px) {
  .cp-gallery-strip { grid-template-columns: 1fr 1fr; grid-template-rows: 110px 110px; }
  .cp-gallery-cell.lead { grid-column: span 2; grid-row: span 1; }

  /* Wrapping put one button per line at phone widths. Two even columns
     instead, with the form that wraps "Save Supplier" behaving like a cell. */
  .cp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .cp-actions > * { width: 100%; }
  .cp-actions > form > button, .cp-actions > a, .cp-actions > button {
    width: 100%; justify-content: center; padding-left: 10px; padding-right: 10px;
    white-space: nowrap;
  }

  /* One scrolling row rather than three stacked rows of tabs. */
  .cp-tabs {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .cp-tabs::-webkit-scrollbar { display: none; }
  .cp-tabs .nav-link { flex: 0 0 auto; white-space: nowrap; padding: 12px 12px; font-size: 13px; }
}

.cp-open { font-weight: 700; }
.cp-open.is-open { color: #16A34A; }
.cp-open.is-closed { color: #DC2626; }
.cp-cat-tag { background: #F1F5F9; color: var(--text-muted); padding: 2px 9px; border-radius: var(--radius-pill); font-size: 12px; }

.cp-overview h6, .cp-quickinfo-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--navy); margin: 22px 0 10px; display: block; }
.cp-overview-intro { font-size: 14px; line-height: 1.7; color: var(--text); }
.cp-overview-section { scroll-margin-top: 90px; padding-top: 6px; border-top: 1px solid var(--border); margin-top: 24px; }
.cp-overview-section:first-child, #cpSecCatalogue.cp-overview-section { border-top: none; margin-top: 0; }
.cp-overview-line { font-size: 14px; color: var(--text-muted); }
.cp-overview-map { width: 100%; height: 260px; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-top: 10px; }

.cp-tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-tag { font-size: 12px; background: #F1F5F9; color: var(--text-muted); padding: 4px 10px; border-radius: 6px; display: inline-flex; align-items: center; gap: 5px; }
.cp-tag i { color: #16A34A; }

.cp-quickinfo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.cp-quickinfo-block strong { font-size: 14px; color: var(--text); font-weight: 600; display: block; }
.cp-quickinfo-block .cp-quickinfo-label { margin-top: 0; }

.cp-service-list { display: flex; flex-direction: column; }
.cp-service-row { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px dashed var(--border); }
.cp-service-info strong { font-size: 14.5px; color: var(--navy); }
.cp-service-info p { font-size: 12.5px; color: var(--text-muted); margin: 4px 0 6px; }
.cp-service-price { white-space: nowrap; text-align: right; font-size: 15px; font-weight: 700; color: var(--navy); }
.cp-service-price span { display: block; font-size: 11.5px; font-weight: 500; color: var(--text-muted); }

.cp-price-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.cp-price-table th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); padding: 10px 12px; border-bottom: 1px solid var(--border); }
.cp-price-table td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cp-price-table .text-end { text-align: right; }
.cp-price-moq { display: block; font-size: 11.5px; color: var(--text-muted); }
.cp-price-unit { font-size: 11.5px; color: var(--text-muted); }

.cp-prod-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cp-prod-chip {
  border: 1px solid var(--border); background: #fff; color: var(--text); cursor: pointer;
  font-size: 12.5px; font-weight: 600; padding: 7px 14px; border-radius: var(--radius-pill); transition: all 0.15s;
}
.cp-prod-chip:hover { border-color: var(--navy); }
.cp-prod-chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Restaurant profile: menu, photo tiles, features, insights ---------- */
.cp-cost-line { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--text-muted); margin: 6px 0 0; }
.cp-cost-line i { color: var(--orange); }

.cp-sec-head { display: flex; align-items: center; justify-content: space-between; margin: 26px 0 12px; }
.cp-sec-head h5 { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0; }
.cp-sec-head a { font-size: 13px; font-weight: 600; color: #1A5FB4; }

.cp-menu-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.cp-menu-mini { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.cp-menu-mini strong { font-size: 13.5px; color: var(--text); }
.cp-menu-mini span:last-child { font-size: 14px; font-weight: 700; color: var(--navy); }

.cp-photo-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 18px; }
.cp-photo-tile { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; }
.cp-photo-tile img { width: 100%; height: 110px; object-fit: cover; display: block; }
.cp-photo-tile-label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-top: 6px; }
.cp-photo-tile-count { display: block; font-size: 11.5px; color: var(--text-muted); }

.cp-quickinfo-links { color: #1A5FB4; }

.cp-highlight-row { display: flex; flex-wrap: wrap; gap: 26px; }
.cp-highlight { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 90px; text-align: center; font-size: 11.5px; color: var(--text-muted); }
.cp-highlight-icon { width: 46px; height: 46px; border-radius: 50%; background: #EFF6FF; color: #1A5FB4; display: flex; align-items: center; justify-content: center; font-size: 20px; }

.cp-feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px; margin-top: 18px; }
.cp-feature-head { font-size: 13px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.cp-feature-head i { color: #16A34A; }
.cp-feature-col ul { list-style: none; margin: 0; padding: 0; }
.cp-feature-col li { font-size: 12.5px; color: var(--text-muted); padding: 3px 0; }
.cp-feature-more { font-size: 12px; font-weight: 600; color: #1A5FB4; }

.cp-happy-card { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; max-width: 420px; }
.cp-happy-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cp-happy-card p { font-size: 13px; color: var(--text-muted); margin: 0 0 8px; }
.cp-happy-date { font-size: 11.5px; color: var(--border); }
.cp-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }

.cp-insights { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 768px) { .cp-insights { grid-template-columns: 1fr; } }
.cp-insight-card { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; }
.cp-insight-card h6 { font-size: 13px; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 7px; }
.cp-insight-card.liked h6 { color: #16A34A; }
.cp-insight-card.improve h6 { color: #DC2626; }
.cp-insight-card ul { list-style: none; margin: 0; padding: 0; }
.cp-insight-card li { font-size: 12.5px; color: var(--text-muted); padding: 4px 0 4px 16px; position: relative; }
.cp-insight-card li::before { content: '•'; position: absolute; left: 4px; }

.cp-review-date { font-size: 11.5px; color: var(--text-muted); margin-left: auto; }
.cp-review-reply { background: #F8FAFC; border-left: 3px solid #1A5FB4; padding: 10px 12px; border-radius: 0 6px 6px 0; margin-top: 8px; }
.cp-review-reply-tag { font-size: 11px; font-weight: 700; color: #1A5FB4; }
.cp-review-reply p { font-size: 12.5px; color: var(--text-muted); margin: 4px 0 0; }
.cp-review-actions { display: flex; gap: 18px; margin-top: 8px; font-size: 12px; color: var(--text-muted); }

.cp-side-address { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.cp-side-links { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; font-size: 13px; }
.cp-side-links a, .cp-side-linkbtn { color: #1A5FB4; display: flex; align-items: center; gap: 8px; background: none; border: none; padding: 0; text-align: left; cursor: pointer; font-size: 13px; }
.cp-side-hours { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.cp-side-hours.is-open { color: #16A34A; }
.cp-side-hours.is-closed { color: #DC2626; }
.cp-side-gst { display: flex; align-items: center; gap: 8px; color: var(--text-muted); }

.cp-menu { display: flex; gap: 20px; }
.cp-menu-sidebar { flex-shrink: 0; width: 200px; display: flex; flex-direction: column; gap: 4px; }
.cp-menu-cat-btn { text-align: left; border: none; background: none; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 13.5px; font-weight: 600; color: var(--text-muted); cursor: pointer; }
.cp-menu-cat-btn span { color: var(--border); font-weight: 500; }
.cp-menu-cat-btn.active { background: #F2F7FD; color: #1A5FB4; }
.cp-menu-items { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.cp-menu-item { display: flex; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--border); }
.cp-menu-item.is-unavailable { opacity: 0.55; }
.cp-menu-item-img { width: 72px; height: 72px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.cp-menu-item-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cp-veg-dot { width: 12px; height: 12px; border: 1.5px solid #16A34A; border-radius: 2px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cp-veg-dot::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #16A34A; }
.cp-veg-dot.non_veg { border-color: #DC2626; }
.cp-veg-dot.non_veg::after { background: #DC2626; }
.cp-veg-dot.egg { border-color: #D97706; }
.cp-veg-dot.egg::after { background: #D97706; }
.cp-menu-tag { font-size: 10.5px; font-weight: 700; color: #0F8B6C; background: #ECFDF5; padding: 2px 8px; border-radius: var(--radius-pill); }
.cp-menu-tag.special { color: #B45309; background: #FFFBEB; }
.cp-menu-item-desc { font-size: 12.5px; color: var(--text-muted); margin: 4px 0; }
.cp-menu-item-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cp-menu-price { font-size: 14px; font-weight: 700; color: var(--navy); }
.cp-menu-price s { color: var(--text-muted); font-weight: 500; margin-right: 4px; }
.cp-menu-meta { font-size: 11.5px; color: var(--text-muted); }
.cp-menu-meta.out { color: #DC2626; font-weight: 700; }
@media (max-width: 640px) { .cp-menu { flex-direction: column; } .cp-menu-sidebar { width: 100%; flex-direction: row; overflow-x: auto; } }

.cp-faq .accordion-button { font-size: 13.5px; font-weight: 600; }
.cp-faq .accordion-body { font-size: 13px; color: var(--text-muted); }

.cp-sub-head { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--navy); margin: 22px 0 10px; }
.cp-review-images { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-review-images img { width: 78px; height: 78px; object-fit: cover; border-radius: var(--radius-sm); }
.cp-related-searches { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.cp-related-searches a { font-size: 12.5px; color: var(--text-muted); }
.cp-related-searches a:hover { color: var(--orange); }

.cp-lead-card { border-color: var(--orange, #F97316); background: #FFF8F3; }

.cp-trend-row { display: flex; align-items: flex-end; gap: 8px; height: 60px; margin-bottom: 22px; }
.cp-trend-bar { position: relative; flex: 0 0 26px; height: 100%; display: flex; align-items: flex-end; background: #F1F5F9; border-radius: 4px; overflow: visible; }
.cp-trend-fill { display: block; width: 100%; background: #F59E0B; border-radius: 4px; min-height: 4px; }
.cp-trend-label { position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); font-size: 9.5px; color: var(--text-muted); white-space: nowrap; }

/* ---------------- Company Catalogue tab ---------------- */
.cp-catalogue-heading { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--navy); margin: 0 0 14px; }
.cp-catalogue-carousel { position: relative; display: flex; align-items: center; gap: 8px; }
.cp-catalogue-row { display: flex; gap: 16px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 2px; min-width: 0; flex: 1 1 0; }
.cp-catalogue-row::-webkit-scrollbar { display: none; }
.cp-catalogue-nav {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: #fff;
  color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: all 0.2s var(--ease); z-index: 1;
}
.cp-catalogue-nav:hover { border-color: var(--orange); color: var(--orange); }
.cp-catalogue-card { flex: 0 0 200px; display: flex; flex-direction: column; gap: 6px; border: none; background: none; padding: 0; cursor: pointer; text-align: left; }
.cp-catalogue-cover { position: relative; display: block; width: 100%; height: 150px; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); background: var(--bg); }
.cp-catalogue-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s var(--ease); }
.cp-catalogue-card:hover .cp-catalogue-cover img { transform: scale(1.05); }
.cp-catalogue-icon { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.cp-catalogue-icon i { font-size: 32px; color: #DC2626; }
.cp-catalogue-share {
  position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,0.95); color: var(--navy); font-size: 10.5px; font-weight: 700;
  padding: 4px 9px; border-radius: var(--radius-pill); box-shadow: var(--shadow-xs);
}
.cp-catalogue-title { display: block; font-size: 13px; color: var(--navy); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-catalogue-card small { display: block; color: var(--text-muted); font-size: 11.5px; }

/* ---------------- Full-screen catalogue gallery ---------------- */
.offcanvas.cp-gallery-sheet { height: 100vh; max-height: 100vh; background: #17181C; color: #fff; border: none; }
.cp-gallery-sheet .offcanvas-header { border-bottom: 1px solid rgba(255,255,255,0.1); padding: 16px 20px; }
.cp-gallery-sheet .offcanvas-title { color: #fff; font-size: 15px; font-weight: 700; }
.cp-gallery-sheet .btn-close { filter: invert(1) grayscale(1) brightness(1.8); opacity: 0.8; }
.cp-gallery-sheet .offcanvas-body { display: flex; flex-direction: column; padding: 0; overflow: hidden; }

.cp-gallery-tabs { flex-wrap: nowrap; overflow-x: auto; gap: 4px; padding: 12px 20px 0; margin: 0; border-bottom: 1px solid rgba(255,255,255,0.1); flex-shrink: 0; }
.cp-gallery-tabs .nav-link {
  color: rgba(255,255,255,0.6); font-size: 13px; font-weight: 600; border: none; border-bottom: 2px solid transparent;
  padding: 8px 14px; white-space: nowrap; border-radius: 0;
}
.cp-gallery-tabs .nav-link.active, .cp-gallery-tabs .nav-link:hover { color: #fff; background: none; border-bottom-color: var(--orange); }

.cp-gallery-scroll { flex: 1; overflow-y: auto; padding: 18px 20px; }
.cp-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.cp-gallery-thumb { position: relative; border: none; padding: 0; background: #24262B; cursor: pointer; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1/1; }
.cp-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s var(--ease); }
.cp-gallery-thumb:hover img { transform: scale(1.06); }

.cp-gallery-footer {
  flex-shrink: 0; display: flex; align-items: center; gap: 14px; padding: 14px 20px;
  background: #fff; color: var(--text); border-top: 1px solid var(--border); flex-wrap: wrap;
}
.cp-gallery-footer-id { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 200px; }
.cp-gallery-footer-logo { width: 38px; height: 38px; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.cp-gallery-footer-logo img { width: 100%; height: 100%; object-fit: cover; }
.cp-gallery-footer-name { font-size: 13.5px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 6px; }
.cp-gallery-footer-meta { font-size: 11.5px; color: var(--text-muted); }
.cp-gallery-footer-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cp-gallery-footer-actions .btn-orange, .cp-gallery-footer-actions .btn-ghost-navy { padding: 9px 16px; font-size: 12.5px; }
.cp-gallery-footer-icon { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--text-muted); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cp-gallery-footer-icon:hover { border-color: var(--navy); color: var(--navy); }

@media (max-width: 640px) {
  .cp-gallery-footer { padding: 10px 14px; }
  .cp-gallery-footer-actions .btn-orange span, .cp-gallery-footer-actions .btn-ghost-navy span { display: none; }
}

.cp-lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.9);
  display: flex; align-items: center; justify-content: center;
}
.cp-lightbox img { max-width: 88vw; max-height: 88vh; object-fit: contain; }
.cp-lightbox-close { position: absolute; top: 18px; right: 22px; background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; }
.cp-lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); border: none; color: #fff; font-size: 24px; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.cp-lightbox-nav.prev { left: 20px; }
.cp-lightbox-nav.next { right: 20px; }
.cp-lightbox-nav:hover { background: rgba(255,255,255,0.3); }

/* --- offers block (public profile) ---------------------------------------- */

.cp-offers { margin-bottom: 20px; }
.cp-offers-title { font-size: 16px; font-weight: 800; color: var(--navy, #0B1B3A); margin-bottom: 10px; }

.cp-offer {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px; margin-bottom: 8px;
  border: 1px dashed #F0B27A;
  border-radius: 12px;
  background: #FFF8F1;
}

.cp-offer-badge {
  flex: none;
  padding: 6px 10px;
  border-radius: 8px;
  background: #F5711D;
  color: #fff; font-weight: 800; font-size: 12px; white-space: nowrap;
}

.cp-offer strong { display: block; font-size: 14px; color: #0B1B3A; }
.cp-offer p { font-size: 13px; color: #64748B; margin-top: 2px; }
.cp-offer-meta code { background: #FFE7CE; padding: 1px 6px; border-radius: 4px; color: #8A3E06; }
