/* SochiLab Catalog Widget — scoped styles (prefix: .sc-) */
@import url('https://fonts.googleapis.com/css?family=Fjalla+One|Montserrat:300,400,600,700,800|Open+Sans:300,400,600&display=swap');

.sc-widget { font-family: "Open Sans", sans-serif; color: #1e293b; line-height: 1.6; }
.sc-widget * { box-sizing: border-box; }

/* Search */
.sc-search { display: flex; gap: 12px; align-items: center; margin-bottom: 24px; flex-wrap: wrap; }
.sc-search label { font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 13px; color: #999; text-transform: uppercase; white-space: nowrap; }
.sc-search-input { flex: 1; min-width: 200px; padding: 12px 18px; border: 1px solid #ddd; font-size: 15px; font-family: "Open Sans", sans-serif; outline: none; transition: 200ms; border-radius: 0; background: #fff; }
.sc-search-input:focus { border-color: #009afe; }
.sc-search-input::placeholder { color: #bbb; }
.sc-btn { cursor: pointer; border: 1px solid #009afe; padding: 12px 28px; border-radius: 200px; font-family: "Open Sans", sans-serif; font-size: 15px; font-weight: 600; transition: 200ms; white-space: nowrap; display: inline-block; text-align: center; }
.sc-btn-primary { background: #009afe; color: #fff; }
.sc-btn-primary:hover { background: #fff; color: #009afe; }
.sc-btn-secondary { background: #fff; color: #999; border-color: #ddd; }
.sc-btn-secondary:hover { border-color: #009afe; color: #009afe; }

/* Breadcrumbs */
.sc-breadcrumbs { margin-bottom: 16px; font-size: 13px; }
.sc-breadcrumbs a { color: #94a3b8; text-decoration: none; cursor: pointer; }
.sc-breadcrumbs a:hover { color: #64748b; text-decoration: underline; }
.sc-breadcrumbs .sc-sep { margin: 0 6px; color: #cbd5e1; }

/* Card */
.sc-card { box-shadow: 0 6px 20px rgba(0,0,0,0.08); background: #fff; overflow: hidden; }
.sc-card-title { display: flex; align-items: center; padding: 30px 40px; }
.sc-card-title h3 { flex: 1; margin: 0; color: #252525; font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 20px; text-transform: uppercase; line-height: 1.3; }
.sc-card-title .sc-back { flex-shrink: 0; background: #009afe; color: #fff; padding: 10px 14px; transition: 200ms; margin-left: 20px; text-decoration: none; font-size: 18px; cursor: pointer; border: none; }
.sc-card-title .sc-back:hover { background: #252525; }
.sc-card-body { padding: 0 40px; margin-bottom: 25px; }

/* Footer */
.sc-card-footer { padding: 30px 40px; display: flex; flex-flow: row nowrap; align-items: center; position: relative; }
.sc-card-footer::before { content: ""; position: absolute; display: block; top: 0; left: 40px; width: calc(100% - 80px); height: 3px; background: linear-gradient(to right, #009afe 0%, #009afe 20%, #ddd 20%, #ddd 100%); }
.sc-card-footer .sc-footer-info { flex: 1; font-family: "Montserrat", sans-serif; font-size: 13px; color: #999; }
.sc-card-footer .sc-footer-info strong { color: #009afe; }
.sc-card-footer .sc-recommend { flex: 1; }
.sc-card-footer .sc-recommend p { margin: 0; font-family: "Montserrat", sans-serif; text-transform: uppercase; font-weight: 600; font-size: 12px; color: #999; }
.sc-card-footer .sc-recommend h4 { margin: 0; font-size: 16px; font-family: "Montserrat", sans-serif; font-weight: 600; text-transform: uppercase; }
.sc-card-footer .sc-recommend h4 a { color: #009afe; text-decoration: none; cursor: pointer; }
.sc-card-footer .sc-recommend h4 a:hover { text-decoration: underline; }
.sc-card-footer .sc-action .sc-btn { display: inline-block; }

/* Tree */
.sc-cat-block { margin-bottom: 2px; border-bottom: 1px solid #eee; }
.sc-cat-block:last-child { border-bottom: none; }
.sc-cat-header { padding: 16px 0; font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 15px; color: #009afe; cursor: pointer; display: flex; align-items: center; justify-content: space-between; user-select: none; transition: 200ms; text-transform: uppercase; }
.sc-cat-header:hover { color: #252525; }
.sc-cat-header .sc-toggle { font-size: 12px; color: #999; transition: transform 0.2s; }
.sc-cat-block.sc-collapsed .sc-toggle { transform: rotate(-90deg); }
.sc-cat-block.sc-collapsed .sc-cat-children { display: none; }
.sc-cat-children { padding-left: 0; }

.sc-subcat-block { margin: 0; border-bottom: 1px solid #f0f0f0; }
.sc-subcat-block:last-child { border-bottom: none; }
.sc-subcat-header { padding: 12px 0 12px 20px; font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 13px; color: #555; cursor: pointer; display: flex; align-items: center; justify-content: space-between; user-select: none; transition: 200ms; }
.sc-subcat-header:hover { color: #009afe; }
.sc-subcat-block.sc-collapsed .sc-toggle { transform: rotate(-90deg); }
.sc-subcat-block.sc-collapsed .sc-cat-children { display: none; }

.sc-svc-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0 12px 20px; border-bottom: 1px solid #f5f5f5; gap: 16px; cursor: pointer; transition: 200ms; }
.sc-svc-row:last-child { border-bottom: none; }
.sc-svc-row:hover { background: #fafafa; }
.sc-svc-row:hover .sc-svc-name { color: #009afe; }
.sc-svc-name { flex: 1; min-width: 200px; font-size: 14px; font-family: "Open Sans", sans-serif; transition: 200ms; }
.sc-svc-price { font-family: "Fjalla One", sans-serif; font-size: 16px; color: #252525; white-space: nowrap; }
.sc-cat-name { cursor: pointer; flex: 1; }
.sc-cat-name:hover { text-decoration: underline; }

/* Children list (category view) */
.sc-children-list { list-style: none; padding: 0; margin: 0; }
.sc-children-list li { border-bottom: 1px solid #eee; }
.sc-children-list li:last-child { border-bottom: none; }
.sc-children-list li a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; text-decoration: none; color: #252525; font-family: "Montserrat", sans-serif; font-size: 14px; transition: 200ms; cursor: pointer; }
.sc-children-list li a:hover { color: #009afe; }
.sc-children-list .sc-item-name { font-weight: 500; flex: 1; }
.sc-children-list .sc-item-folder { color: #009afe; font-weight: 600; font-size: 15px; }
.sc-children-list .sc-item-price { font-family: "Fjalla One", sans-serif; font-size: 16px; color: #252525; white-space: nowrap; margin-left: 16px; }

/* Description */
.sc-desc-text { font-family: "Open Sans", sans-serif; font-weight: 300; line-height: 27px; font-size: 16px; color: #555; white-space: pre-wrap; margin-bottom: 24px; }
.sc-no-items { color: #999; font-style: italic; padding: 20px 0; font-family: "Open Sans", sans-serif; }

/* Service detail */
.sc-top-row { display: flex; flex-flow: row nowrap; gap: 30px; margin-bottom: 25px; }
.sc-featured { flex: 1; }
.sc-featured .sc-sub { font-family: "Montserrat", sans-serif; font-size: 14px; text-transform: uppercase; color: #686e77; font-weight: 300; margin-bottom: 5px; }
.sc-featured .sc-price-big { margin: 0; padding: 0; font-weight: 800; font-family: "Montserrat", sans-serif; font-size: 56px; line-height: 50px; color: #181e28; }
.sc-featured .sc-price-big .sc-currency { font-size: 32px; font-weight: 400; color: #686e77; }
.sc-badges { flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.sc-badge { font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 16px; color: #555; display: flex; align-items: center; gap: 6px; }
.sc-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #a1cc16; flex-shrink: 0; }

/* Tabs */
.sc-tabs { display: flex; gap: 0; border-bottom: 2px solid #eee; margin-bottom: 20px; }
.sc-tab { padding: 12px 24px; font-size: 15px; font-weight: 600; font-family: "Montserrat", sans-serif; color: #999; cursor: pointer; border: none; background: none; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: 200ms; }
.sc-tab:hover { color: #555; }
.sc-tab.sc-active { color: #009afe; border-bottom-color: #009afe; }
.sc-tab-content { display: none; }
.sc-tab-content.sc-active { display: block; }
.sc-desc p { margin: 0; font-family: "Open Sans", sans-serif; font-weight: 300; line-height: 27px; font-size: 16px; color: #555; white-space: pre-wrap; }
.sc-no-desc { font-family: "Open Sans", sans-serif; font-size: 15px; color: #bbb; font-style: italic; }

/* States */
.sc-loading, .sc-empty, .sc-error { text-align: center; padding: 60px 20px; }
.sc-spinner { width: 40px; height: 40px; border: 4px solid #eee; border-top-color: #009afe; border-radius: 50%; animation: sc-spin 0.8s linear infinite; margin: 0 auto 16px; }
@keyframes sc-spin { to { transform: rotate(360deg); } }
.sc-loading-text, .sc-empty-text { font-size: 15px; color: #999; font-family: "Open Sans", sans-serif; }
.sc-error { color: #dc2626; }

/* Responsive */
@media (max-width: 768px) {
  .sc-search { flex-direction: column; align-items: stretch; }
  .sc-card-title { padding: 20px; }
  .sc-card-title h3 { font-size: 16px; }
  .sc-card-body { padding: 0 20px; }
  .sc-card-footer { padding: 20px; flex-wrap: wrap; gap: 16px; }
  .sc-card-footer::before { left: 20px; width: calc(100% - 40px); }
  .sc-svc-row { padding-left: 10px; }
  .sc-subcat-header { padding-left: 10px; }
  .sc-top-row { flex-direction: column; gap: 16px; }
  .sc-featured .sc-price-big { font-size: 40px; line-height: 36px; }
  .sc-tabs { overflow-x: auto; }
  .sc-tab { padding: 10px 16px; font-size: 13px; white-space: nowrap; }
}
