/* Reset all theme style interference inside plugin wrappers */
.chcpl-list *,.chcpl-list *::before,.chcpl-list *::after,
.chcpl-lock *,.chcpl-lock *::before,.chcpl-lock *::after{box-sizing:border-box;margin-block-start:unset;margin-block-end:unset;margin-inline-start:unset;margin-inline-end:unset;padding-block-start:unset;padding-block-end:unset;padding-inline-start:unset;padding-inline-end:unset}
.chcpl-list h1,.chcpl-list h2,.chcpl-list h3,.chcpl-list h4,.chcpl-list h5,.chcpl-list h6,.chcpl-list p,.chcpl-list ul,.chcpl-list ol,.chcpl-list li,.chcpl-list figure,.chcpl-list blockquote,
.chcpl-lock h1,.chcpl-lock h2,.chcpl-lock h3,.chcpl-lock h4,.chcpl-lock h5,.chcpl-lock h6,.chcpl-lock p,.chcpl-lock ul,.chcpl-lock ol,.chcpl-lock li,.chcpl-lock figure,.chcpl-lock blockquote{margin:0;padding:0}
.chcpl-list{margin:24px auto;padding:0;width:100%}
.chcpl-category{margin-bottom:24px}
.chcpl-category-title{margin:0;font-size:15px;color:var(--chcpl-category-title-text-color,#fff);background:var(--chcpl-category-title-bg,#1e3a8a);padding:10px 14px!important;border-radius:var(--chcpl-radius,10px) var(--chcpl-radius,10px) 0 0;font-weight:600;display:flex;align-items:center;gap:10px}
.chcpl-category-icon{width:20px;height:20px;object-fit:contain;flex-shrink:0}
.chcpl-category-title-text{flex:1}
.chcpl-services{border:1px solid var(--chcpl-border-color,#f8f7f2);border-top:none;border-radius:0 0 var(--chcpl-radius,10px) var(--chcpl-radius,10px);overflow:hidden;background:var(--chcpl-card-bg,#fff)}
.chcpl-service{display:flex;gap:var(--chcpl-gap,12px);align-items:flex-start;justify-content:space-between;padding:12px 16px;border-top:1px solid var(--chcpl-border-color,#e5e7eb);position:relative}
.chcpl-service:first-child{border-top:none}
.chcpl-service:hover{background:rgb(243, 241, 237);}
.chcpl-service-left{flex:1 1 auto}
.chcpl-service-title{font-weight:600;font-size:15px;margin:0 0 4px 0;color:var(--chcpl-service-title-color,#111827)}
.chcpl-service-desc{color:var(--chcpl-description-color,#4b5563);font-size:13px}
.chcpl-service-right{flex:0 0 auto;display:flex;align-items:center;gap:12px}
.chcpl-service-price{font-weight:600;white-space:nowrap;color:var(--chcpl-price-color,#111827)}
.chcpl-inquiry-btn{background:var(--chcpl-inquiry-btn-bg,#111827);color:var(--chcpl-inquiry-btn-text,#fff);border:none;border-radius:var(--chcpl-button-radius,6px);padding:8px 12px;cursor:pointer;transition:background .2s ease,color .2s ease,transform .15s ease,box-shadow .2s ease}
.chcpl-inquiry-btn:hover{background:var(--chcpl-inquiry-btn-hover-bg,#000);color:var(--chcpl-inquiry-btn-hover-text,#fff);transform:translateY(-1px);box-shadow:0 6px 20px rgba(0,0,0,.15)}

/* Lock screen — single card */
.chcpl-lock{max-width:var(--chcpl-lock-max-width,600px);width:100%;margin:24px auto;}
.chcpl-lock-card{
	border:1px solid var(--chcpl-lock-card-border-color,#434343);
	border-radius:var(--chcpl-radius,16px);
	background:var(--chcpl-lock-card-bg,transparent);
	padding:48px;
	text-align:center;
	width:100%;
	box-sizing:border-box;
}
/* Main view */
.chcpl-lock-surtitle{margin:0 0 10px!important;font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--chcpl-lock-title-color,#fff);opacity:.5;}
.chcpl-lock-title{margin:0 0 10px!important;font-size:26px;font-weight:800;color:var(--chcpl-lock-heading-color,var(--chcpl-lock-title-color,#fff));line-height:1.25;}
.chcpl-lock-desc{margin:0 0 32px!important;font-size:15px;font-weight:400;color:var(--chcpl-lock-title-color,#fff);opacity:.6;line-height:1.6;}
/* Action buttons — stacked column */
.chcpl-lock-actions{display:flex;flex-direction:column;gap:0;}
.chcpl-lock-card button.chcpl-lock-btn-primary,
.chcpl-lock-card button.chcpl-lock-btn-secondary{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:16px 32px;border:none;border-radius:var(--chcpl-button-radius,8px);font-size:15px;font-weight:700;font-family:inherit;cursor:pointer;transition:background-color .2s ease,color .2s ease,transform .15s ease,box-shadow .2s ease;line-height:1.4;box-shadow:none;background-color:var(--chcpl-button-bg,#fff) !important;color:var(--chcpl-button-text,#000) !important;}
.chcpl-lock-card button.chcpl-lock-btn-secondary{font-weight:600;}
.chcpl-lock-card button.chcpl-lock-btn-primary:hover,
.chcpl-lock-card button.chcpl-lock-btn-secondary:hover{background-color:var(--chcpl-button-hover-bg,#e0e0e0) !important;color:var(--chcpl-button-hover-text,#000) !important;}
/* Divider between buttons */
.chcpl-lock-divider{display:flex;align-items:center;gap:12px;margin:4px 0!important;}
.chcpl-lock-divider-line{flex:1;height:1px;background:var(--chcpl-lock-card-border-color,#434343);opacity:.5;}
.chcpl-lock-divider-text{font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.08em;color:var(--chcpl-lock-title-color,#fff);opacity:.4;}
/* Subtext below buttons */
.chcpl-access-subtext{margin:16px 0 0!important;font-size:13px;color:var(--chcpl-access-subtext-color,#fff);font-weight:var(--chcpl-access-subtext-font-weight,400);line-height:1.5;opacity:.6;}
/* Panels */
.chcpl-lock-panel{display:none;text-align:left;}
.chcpl-lock-panel-eyebrow{font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--chcpl-lock-title-color,#fff);opacity:.5;text-align:center;margin:0 0 8px!important;}
.chcpl-lock-panel-mandatory{font-size:12px;color:var(--chcpl-lock-title-color,#fff);opacity:.4;text-align:center;margin:0 0 20px!important;}
/* Panel form inputs */
.chcpl-lock-panel .chcpl-inquiry-form label{color:var(--chcpl-lock-title-color,#fff);opacity:.6;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;}
.chcpl-lock-panel .chcpl-inquiry-form input[type=text],
.chcpl-lock-panel .chcpl-inquiry-form input[type=email],
.chcpl-lock-panel .chcpl-inquiry-form textarea{background:transparent !important;border:1px solid var(--chcpl-lock-card-border-color,#434343) !important;border-radius:var(--chcpl-button-radius,8px);padding:12px 16px;color:var(--chcpl-lock-title-color,#fff) !important;font-size:14px;outline:none;transition:border-color .2s;box-sizing:border-box;width:100%;}
.chcpl-lock-panel .chcpl-inquiry-form input[type=text]:focus,
.chcpl-lock-panel .chcpl-inquiry-form input[type=email]:focus,
.chcpl-lock-panel .chcpl-inquiry-form textarea:focus{border-color:var(--chcpl-button-bg,#fff) !important;}
.chcpl-lock-panel .chcpl-inquiry-form input::placeholder,
.chcpl-lock-panel .chcpl-inquiry-form textarea::placeholder{color:var(--chcpl-lock-title-color,#fff);opacity:.25;}
.chcpl-lock-card .chcpl-lock-panel button.chcpl-submit{width:100%;padding:16px;font-size:15px;font-weight:700;margin-top:4px;background-color:var(--chcpl-button-bg,#fff) !important;color:var(--chcpl-button-text,#000) !important;border:none;border-radius:var(--chcpl-button-radius,8px);cursor:pointer;font-family:inherit;transition:background-color .2s ease,color .2s ease,transform .15s ease,box-shadow .2s ease;box-shadow:none;display:flex;align-items:center;justify-content:center;}
.chcpl-lock-card .chcpl-lock-panel button.chcpl-submit:hover{background-color:var(--chcpl-button-hover-bg,#e0e0e0) !important;color:var(--chcpl-button-hover-text,#000) !important;}
.chcpl-lock-card .chcpl-lock-panel button.chcpl-submit:disabled{cursor:not-allowed;opacity:.8;}
/* Back button */
.chcpl-lock-back{display:block;width:100%;background:none !important;border:none !important;box-shadow:none !important;padding:0 !important;margin-top:20px!important;font-size:14px;color:var(--chcpl-lock-title-color,#fff) !important;opacity:.4;cursor:pointer;text-align:center;font-family:inherit;transition:opacity .2s ease;text-decoration:none !important;}
.chcpl-lock-back:hover{opacity:1;background:none !important;border:none !important;box-shadow:none !important;color:var(--chcpl-lock-title-color,#fff) !important;text-decoration:none !important;}
/* Password fields in pw panel */
.chcpl-lock-fields{display:flex;flex-direction:column;gap:10px;}
.chcpl-lock-fields input[type=password]{background:transparent !important;border:1px solid var(--chcpl-lock-card-border-color,#434343) !important;border-radius:var(--chcpl-button-radius,8px);padding:12px 16px !important;width:100%;height:48px !important;min-height:48px !important;font-size:15px;font-weight:400;color:var(--chcpl-lock-title-color,#fff) !important;font-family:inherit;line-height:normal;box-sizing:border-box !important;margin:0 !important;outline:none;transition:border-color .2s;}
.chcpl-lock-fields input[type=password]:focus{border-color:var(--chcpl-button-bg,#fff) !important;}
.chcpl-lock-fields input[type=password]::placeholder{color:var(--chcpl-lock-title-color,#fff);opacity:.25;}
.chcpl-lock-card button.chcpl-lock-submit{background-color:var(--chcpl-button-bg,#fff) !important;color:var(--chcpl-button-text,#000) !important;border:none;border-radius:var(--chcpl-button-radius,8px);padding:16px;width:100%;cursor:pointer;font-size:15px;font-weight:700;font-family:inherit;transition:background-color .2s ease,color .2s ease,transform .15s ease,box-shadow .2s ease;display:flex;align-items:center;justify-content:center;position:relative;box-shadow:none;}
.chcpl-lock-card button.chcpl-lock-submit:hover:not(:disabled){background-color:var(--chcpl-button-hover-bg,#e0e0e0) !important;color:var(--chcpl-button-hover-text,#000) !important;}
.chcpl-lock-card button.chcpl-lock-submit:disabled{cursor:not-allowed;opacity:.8;}
/* Responsive — lock card */
@media (max-width:640px){
	.chcpl-lock{padding:0 14px;}
	.chcpl-lock-card{padding:28px 18px;}
	.chcpl-lock-title{font-size:22px;}
	.chcpl-lock-btn-primary,.chcpl-lock-btn-secondary{padding:14px 20px;}
}

/* Modal */
.chcpl-modal{position:fixed;inset:0;display:none;z-index:var(--chcpl-z,2147483000);opacity:0;transition:opacity .25s ease;overflow-y:auto;}
.chcpl-modal.active{display:block}
.chcpl-modal.active.show{opacity:1}
.chcpl-modal-backdrop{position:absolute;inset:0;background:var(--chcpl-backdrop,rgba(0,0,0,.35));z-index:calc(var(--chcpl-z,2147483000) + 1);opacity:0;transition:opacity .25s ease}
.chcpl-modal.active .chcpl-modal-backdrop{opacity:1}
.chcpl-modal-dialog{position:relative;max-width:var(--chcpl-modal-max-width,560px);background:var(--chcpl-modal-bg,#fff);border:1px solid var(--chcpl-modal-border-color,transparent);border-radius:var(--chcpl-radius,10px);margin:5% auto;padding:30px;z-index:calc(var(--chcpl-z,2147483000) + 2);transform:translateY(-6px);opacity:.98;transition:transform .25s ease,opacity .25s ease}
.chcpl-modal.active.show .chcpl-modal-dialog{transform:translateY(0);opacity:1}
.chcpl-modal-close{position:absolute;top:8px;right:10px;background:transparent;border:none;font-size:24px;cursor:pointer;line-height:1;color:var(--chcpl-modal-close-color,#6b7280);transition:transform .15s ease,color .15s ease}
.chcpl-modal-close:hover{transform:scale(1.1);color:var(--chcpl-modal-title-color,#111827)}
.chcpl-modal-title{margin:0 0 12px 0;color:var(--chcpl-modal-title-color,#111827)}
.chcpl-selected-service{background:var(--chcpl-selected-service-bg,#f3f4f6);border:1px solid var(--chcpl-modal-input-border,#e5e7eb);border-radius:6px;padding:8px 10px;margin:8px 0;color:var(--chcpl-modal-service-text-color,#111827)}
.chcpl-inquiry-form .chcpl-row{display:flex;gap:12px;margin:0 0 15px 0}
.chcpl-inquiry-form .chcpl-col{flex:1 1 50%;margin:0}
.chcpl-inquiry-form p{margin:0 0 15px 0}
.chcpl-inquiry-form p.chcpl-form-actions{margin-top:0;margin-bottom:0}
.chcpl-inquiry-form p:last-of-type{margin-bottom:0}
.chcpl-inquiry-form label{display:block;margin:0 0 6px 0;color:var(--chcpl-modal-label-color,#374151)}
.chcpl-inquiry-form input[type=text]:focus,
.chcpl-inquiry-form input[type=email]:focus,
.chcpl-inquiry-form textarea:focus{background-color:var(--chcpl-modal-input-bg,#fff) !important;color:var(--chcpl-modal-input-text,#111827) !important;}
.chcpl-inquiry-form input[type=text],
.chcpl-inquiry-form input[type=email],
.chcpl-inquiry-form textarea{width:100%;border:1px solid var(--chcpl-modal-input-border,#d1d5db) !important;border-radius:6px;padding:5px 10px;box-sizing:border-box;background-color:var(--chcpl-modal-input-bg,#fff) !important;color:var(--chcpl-modal-input-text,#111827) !important;}

/* Tablet: stack service rows */
@media (max-width:820px){
	.chcpl-service{flex-direction:column;align-items:stretch}
	.chcpl-service-right{width:100%;justify-content:space-between;margin-top:8px;flex-wrap:wrap}
	.chcpl-inquiry-btn{flex:1 1 auto;text-align:center;justify-content:center;}
}

/* Mobile */
@media (max-width:640px){
	.chcpl-list{padding:0 12px}
	.chcpl-inquiry-form .chcpl-row{flex-direction:column}
	.chcpl-inquiry-form .chcpl-col{flex:1 1 100%}
	.chcpl-modal-dialog{margin:16px;max-height:calc(100vh - 32px);overflow-y:auto;}
	.chcpl-service-right{flex-direction:column;align-items:stretch;gap:8px}
	.chcpl-inquiry-btn{width:100%;justify-content:center;}
}
.chcpl-form-actions{margin-top:0}
button.chcpl-submit{background-color:var(--chcpl-submit-bg,#2563eb) !important;color:var(--chcpl-submit-text,#fff) !important;border:none;border-radius:var(--chcpl-button-radius,5px);padding:10px 14px;cursor:pointer;transition:background-color .2s ease,color .2s ease,transform .15s ease,box-shadow .2s ease;position:relative}
button.chcpl-submit:hover:not(:disabled){background-color:var(--chcpl-submit-hover-bg,#1d4ed8) !important;transform:translateY(-1px);box-shadow:0 8px 24px rgba(37,99,235,.25)}
.chcpl-submit:disabled{cursor:not-allowed;opacity:0.8}
.chcpl-submit-loading{pointer-events:none}
.chcpl-spinner{display:inline-block;width:14px;height:14px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:chcpl-spin .6s linear infinite;vertical-align:middle;margin-right:6px}
@keyframes chcpl-spin{to{transform:rotate(360deg)}}
.chcpl-form-status{margin-top:8px;font-weight:600}

/* Hover Image Overlay */
.chcpl-service-hover-overlay{position:absolute;z-index:1000;pointer-events:none;opacity:0;transition:opacity .2s ease,transform .2s ease;transform:scale(0.95) translateY(-5px);will-change:opacity,transform}
.chcpl-service-hover-overlay.active{opacity:1;transform:scale(1) translateY(0)}
.chcpl-service-hover-overlay img{display:block;max-width:320px;width:auto;height:auto;max-height:240px;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.2),0 0 0 1px rgba(0,0,0,.05);background:#fff;padding:4px}
.chcpl-service-has-image:hover .chcpl-service-hover-overlay{opacity:1;transform:scale(1) translateY(0)}

/* Disable hover overlay on mobile devices */
@media (max-width: 1024px) {
	.chcpl-service-hover-overlay{display:none !important}
}
