/* Discovery UI uses global typography from style.css */
/* Chiguru Connect - Premium Discovery Popup Add-on */
/* This file is separate from old style.css and will not overwrite old UI. */

.cc-pro-board-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.cc-pro-board-card{
  min-height:154px;
  padding:18px 16px;
  border:1px solid rgba(234,223,206,.95);
  border-radius:26px;
  background:linear-gradient(145deg,#ffffff 0%,#fff9ee 100%);
  box-shadow:0 16px 36px rgba(46,34,16,.09);
  color:var(--lux-text,#1e2430);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  text-align:left;
  cursor:pointer;
  transition:.22s ease;
  position:relative;
  overflow:hidden;
}
.cc-pro-board-card:before{
  content:"";
  position:absolute;
  inset:auto -30px -38px auto;
  width:100px;
  height:100px;
  border-radius:999px;
  background:rgba(212,160,23,.12);
}
.cc-pro-board-card:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 50px rgba(46,34,16,.14);
}
.cc-pro-board-card .cc-pro-board-icon{
  width:54px;
  height:54px;
  border-radius:19px;
  display:grid;
  place-items:center;
  font-size:23px;
  color:#fff;
  margin-bottom:14px;
  box-shadow:0 14px 28px rgba(46,34,16,.14);
}
.cc-pro-board-card.taluk .cc-pro-board-icon{background:linear-gradient(135deg,#3157d5,#5f82ff)}
.cc-pro-board-card.category .cc-pro-board-icon{background:linear-gradient(135deg,#12966d,#35c592)}
.cc-pro-board-card.premium .cc-pro-board-icon{background:linear-gradient(135deg,#d4a017,#8f6a08)}
.cc-pro-board-card b{
  font-size:20px;
  line-height:1.1;
  font-weight:900;
  margin-bottom:7px;
  color:#1e2430;
}
.cc-pro-board-card small{
  font-size:12.5px;
  line-height:1.45;
  color:#6b7280;
  font-weight:800;
}

/* Modal */
body.cc-pro-modal-open{overflow:hidden}
.cc-pro-modal{
  position:fixed;
  inset:0;
  z-index:99999;
  display:none;
  padding:24px;
  background:rgba(24,18,8,.58);
  backdrop-filter:blur(16px);
  overflow:auto;
}
.cc-pro-modal.open{
  display:grid;
  place-items:center;
}
.cc-pro-modal-shell{
  width:min(1060px,100%);
  max-height:88vh;
  overflow:auto;
  background:
    radial-gradient(circle at 8% 0%,rgba(212,160,23,.12),transparent 25%),
    linear-gradient(180deg,#fffdf8,#ffffff);
  border:1px solid #eadfce;
  border-radius:36px;
  box-shadow:0 36px 90px rgba(0,0,0,.32);
  padding:28px;
}
.cc-pro-modal-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  margin-bottom:18px;
}
.cc-pro-modal-head h2{
  margin:12px 0 8px;
  font-family:"Plus Jakarta Sans",Inter,sans-serif;
  font-size:clamp(30px,4vw,48px);
  line-height:1.03;
  letter-spacing:-1.3px;
  color:#1e2430;
}
.cc-pro-modal-head p{
  margin:0;
  color:#6b7280;
  line-height:1.7;
  font-weight:600;
}
.cc-pro-close{
  width:50px;
  height:50px;
  flex:0 0 auto;
  border:1px solid #eadfce;
  border-radius:18px;
  background:#fff;
  color:#8f6a08;
  font-size:20px;
  cursor:pointer;
  box-shadow:0 12px 26px rgba(46,34,16,.10);
}
.cc-pro-modal-search{
  width:100%;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 15px;
  margin:0 0 20px;
  border:1px solid #eadfce;
  border-radius:22px;
  background:#fcf7ef;
}
.cc-pro-modal-search.page{max-width:620px;margin-bottom:24px}
.cc-pro-modal-search i{color:#8f6a08;font-size:20px}
.cc-pro-modal-search input{
  width:100%;
  height:44px;
  border:0;
  outline:0;
  background:transparent;
  font-weight:800;
  color:#1e2430;
}

/* Taluk popup */
.cc-pro-taluk-list{
  display:grid;
  gap:15px;
}
.cc-pro-taluk-card{
  padding:16px;
  border:1px solid #ebdfcf;
  border-radius:28px;
  background:#fff;
  box-shadow:0 12px 30px rgba(46,34,16,.07);
}
.cc-pro-taluk-title{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:14px;
}
.cc-pro-taluk-title>span,
.cc-pro-category-card>span{
  width:48px;
  height:48px;
  border-radius:17px;
  background:linear-gradient(135deg,#3157d5,#5f82ff);
  color:#fff;
  display:grid;
  place-items:center;
  font-size:22px;
  flex:0 0 auto;
}
.cc-pro-taluk-title b{
  display:block;
  font-size:20px;
  color:#1e2430;
}
.cc-pro-taluk-title small{color:#6b7280;font-weight:800}
.cc-pro-village-grid{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.cc-pro-village-grid a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  background:#fbf4e3;
  border:1px solid #efdfbf;
  color:#8f6a08;
  font-weight:900;
  transition:.18s ease;
}
.cc-pro-village-grid a:hover{
  background:#fff;
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(46,34,16,.08);
}
.cc-pro-village-grid a small{
  min-width:24px;
  height:24px;
  display:grid;
  place-items:center;
  padding:0 7px;
  border-radius:999px;
  background:#fff;
  color:#6b7280;
  font-size:12px;
}

/* Category popup */
.cc-pro-category-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.cc-pro-category-card{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:9px;
  padding:20px;
  border-radius:26px;
  border:1px solid #ebdfcf;
  background:#fff;
  box-shadow:0 14px 34px rgba(46,34,16,.08);
  transition:.22s ease;
}
.cc-pro-category-card:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 50px rgba(46,34,16,.13);
}
.cc-pro-category-card>span{background:linear-gradient(135deg,#d4a017,#8f6a08)}
.cc-pro-category-card b{font-size:18px;color:#1e2430}
.cc-pro-category-card small{color:#6b7280;line-height:1.5;font-weight:800}

/* Discovery pages */
.cc-pro-page-hero h1{
  max-width:900px;
}
.cc-pro-filter{
  display:grid;
  grid-template-columns:minmax(240px,2fr) minmax(190px,1fr) minmax(170px,1fr) auto auto;
  gap:14px;
  align-items:end;
  padding:18px;
  border-radius:30px;
  border:1px solid #ebdfcf;
  background:#fff;
  box-shadow:var(--lux-shadow,0 18px 45px rgba(46,34,16,.10));
  margin-bottom:28px;
}
.cc-pro-filter.compact{grid-template-columns:minmax(260px,1fr) auto auto}
.cc-pro-filter label{display:grid;gap:8px}
.cc-pro-filter span{
  font-size:12px;
  color:#7b8592;
  text-transform:uppercase;
  letter-spacing:.5px;
  font-weight:900;
}
.cc-pro-filter input,
.cc-pro-filter select{
  width:100%;
  height:54px;
  padding:0 16px;
  border-radius:18px;
  border:1px solid #eadfce;
  background:#fffdf9;
  outline:0;
  color:#1e2430;
}
.cc-pro-section{padding:22px 0}
.cc-pro-scroll-row{
  display:flex;
  gap:18px;
  overflow-x:auto;
  padding:6px 8px 18px;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
}
.cc-pro-scroll-row::-webkit-scrollbar{height:8px}
.cc-pro-scroll-row::-webkit-scrollbar-track{background:#f6efe5;border-radius:999px}
.cc-pro-scroll-row::-webkit-scrollbar-thumb{background:linear-gradient(135deg,#d4a017,#b8860b);border-radius:999px}
.cc-pro-cat-tile{
  min-width:230px;
  max-width:230px;
  flex:0 0 auto;
  scroll-snap-align:start;
}
.cc-pro-group{margin:34px 0}
.cc-pro-group-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-bottom:16px;
}
.cc-pro-group-head h2{
  margin:0;
  font-family:"Plus Jakarta Sans",Inter,sans-serif;
  font-size:clamp(24px,3vw,34px);
  letter-spacing:-.7px;
}
.cc-pro-group-head span{
  display:inline-flex;
  padding:9px 13px;
  border-radius:999px;
  background:#fbf4e3;
  color:#8f6a08;
  font-weight:900;
}
.cc-pro-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.cc-pro-card-scroll .cc-pro-card{
  min-width:252px;
  max-width:252px;
  flex:0 0 auto;
}
.cc-pro-card{
  background:#fff;
  border:1px solid #ebdfcf;
  border-radius:26px;
  overflow:hidden;
  box-shadow:0 16px 38px rgba(46,34,16,.09);
  transition:.22s ease;
}
.cc-pro-card:hover{
  transform:translateY(-3px);
  box-shadow:0 26px 58px rgba(46,34,16,.14);
}
.cc-pro-card-img{
  display:block;
  position:relative;
  height:150px;
  background:#f6f1e8;
}
.cc-pro-card-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.cc-pro-badge{
  position:absolute;
  top:10px;
  left:10px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 10px;
  border-radius:999px;
  background:linear-gradient(135deg,#d4a017,#8f6a08);
  color:#fff;
  font-size:12px;
  font-weight:900;
}
.cc-pro-card-body{padding:14px}
.cc-pro-card-kicker{
  color:#8f6a08;
  text-transform:uppercase;
  letter-spacing:.5px;
  font-size:11px;
  font-weight:900;
  margin-bottom:6px;
}
.cc-pro-card-body h3{
  margin:0 0 8px;
  font-size:17px;
  line-height:1.25;
}
.cc-pro-card-body p{
  margin:0 0 12px;
  color:#6b7280;
  font-size:13px;
  line-height:1.55;
}
.cc-pro-card-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}
.cc-pro-card-actions span,
.cc-pro-card-actions a{
  min-width:34px;
  height:34px;
  padding:0 10px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  background:#fbf4e3;
  color:#8f6a08;
  font-size:12px;
  font-weight:900;
}

@media(max-width:1100px){
  .cc-pro-board-grid{grid-template-columns:1fr}
  .cc-pro-category-grid,.cc-pro-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cc-pro-filter{grid-template-columns:1fr 1fr}
}
@media(max-width:720px){
  .cc-pro-modal{padding:10px}
  .cc-pro-modal-shell{padding:18px;border-radius:26px}
  .cc-pro-modal-head{gap:12px}
  .cc-pro-category-grid,.cc-pro-grid,.cc-pro-filter,.cc-pro-filter.compact{grid-template-columns:1fr}
  .cc-pro-filter .lux-btn{width:100%}
  .cc-pro-group-head{align-items:flex-start;flex-direction:column}
  .cc-pro-card-scroll .cc-pro-card{min-width:225px;max-width:225px}
}
