.enterprise-page .primary-sidebar { flex-basis: 218px; }
.enterprise-page .enterprise-subnav { padding: 4px 0; }
.enterprise-page .enterprise-subnav .subnav-item { height: 42px; font-size: 13px; }
.enterprise-page .enterprise-subnav .subnav-item.active { background: #203348; color: #3d9eff; }
.enterprise-body-layout { margin-top: 4px; background: #f5f7fa; }
.product-secondary-sidebar { flex-basis: 176px; min-width: 176px; }
.product-secondary-scroll { padding-top: 10px; }
.product-secondary-scroll a { min-height: 44px; padding-left: 44px; }
.product-secondary-scroll .product-section-title { padding-left: 25px; color: #333b43; font-weight: 600; }
.product-secondary-scroll .product-section-title.collapsed { margin-top: 4px; }
.product-secondary-scroll a.current { color: #2796f3; }

.enterprise-content { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 18px 18px 14px; overflow: hidden; background: #f5f7fa; }
.product-toolbar { flex: 0 0 auto; height: 48px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.product-status-tabs { height: 40px; display: flex; align-items: flex-start; gap: 36px; }
.product-status-tabs button { height: 40px; padding: 0 0 13px; position: relative; color: #3e4651; font-size: 16px; font-weight: 600; }
.product-status-tabs button.active { color: #2797f4; }
.product-status-tabs button.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #2797f4; }
.product-search-controls { display: flex; align-items: center; gap: 10px; }
.product-search-controls select, .product-name-search input { height: 32px; border: 1px solid #dfe4ea; border-radius: 3px; outline: none; color: #606873; background: #fff; }
.product-search-controls select { width: 130px; padding: 0 28px 0 12px; }
.product-name-search { position: relative; }
.product-name-search input { width: 225px; padding: 0 34px 0 12px; }
.product-name-search input:focus, .product-search-controls select:focus { border-color: #409eff; box-shadow: 0 0 0 2px rgba(64, 158, 255, .1); }
.product-name-search span { position: absolute; top: 6px; right: 11px; color: #b5bec8; font-size: 17px; pointer-events: none; }
.add-product-button { height: 32px; min-width: 96px; padding: 0 15px; border-radius: 3px; color: #fff; background: #2698f5; font-size: 13px; }
.add-product-button:hover { background: #168bed; }

.product-table-panel { min-height: 0; flex: 1; position: relative; background: #fff; border: 1px solid #e5eaf0; }
.product-table-scroll { position: absolute; inset: 0; overflow: auto; }
.product-table { min-width: 1160px; width: 100%; table-layout: fixed; }
.product-table th, .product-table td { height: 52px; padding: 8px 10px; border-right: 1px solid #e7ecf0; border-bottom: 1px solid #e7ecf0; text-align: center; color: #646c76; font-size: 13px; word-break: normal; overflow-wrap: anywhere; }
.product-table th { height: 42px; color: #576173; background: #f7f8fa; font-weight: 650; }
.product-table th:nth-child(1) { width: 115px; }
.product-table th:nth-child(2) { width: 120px; }
.product-table th:nth-child(3) { width: 140px; }
.product-table th:nth-child(4) { width: 150px; }
.product-table th:nth-child(5), .product-table th:nth-child(6) { width: 125px; }
.product-table th:nth-child(7) { width: 110px; }
.product-table th:nth-child(8) { width: 110px; }
.product-table th:nth-child(9) { width: 130px; }
.product-table .product-actions { white-space: nowrap; }
.product-table .product-actions button { margin: 0 5px; color: #2797f4; font-size: 13px; }
.product-empty-state { padding: 80px 0; text-align: center; color: #a3adb8; }

.product-pagination { flex: 0 0 auto; height: 48px; display: flex; align-items: flex-end; justify-content: flex-end; gap: 7px; color: #69727d; font-size: 12px; }
.product-pagination select { width: 88px; height: 28px; margin-right: 6px; border: 1px solid #dfe4ea; border-radius: 3px; color: #69727d; background: #fff; }
.product-pagination button { min-width: 28px; height: 28px; padding: 0 7px; border-radius: 2px; background: #fff; color: #69727d; }
.product-pagination button.current { color: #fff; background: #2797f4; }
.product-pagination button:disabled { color: #c6cdd5; cursor: default; }
.product-pagination label { display: flex; align-items: center; gap: 5px; }
.product-pagination input { width: 40px; height: 28px; padding: 0 4px; border: 1px solid #dfe4ea; border-radius: 3px; text-align: center; color: #69727d; }

.product-config-mask { position: fixed; inset: 0; z-index: 40; background: rgba(22, 29, 38, .52); opacity: 0; transition: opacity .22s ease; }
.product-config-mask.visible { opacity: 1; }
.product-config-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 41; width: min(600px, calc(100vw - 80px)); display: flex; flex-direction: column; color: #333b46; background: #fff; box-shadow: -5px 0 18px rgba(18, 29, 42, .18); transform: translateX(102%); transition: transform .22s ease; }
.product-config-drawer.open { transform: translateX(0); }
.product-config-header { flex: 0 0 64px; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; border-bottom: 1px solid #e7ebef; background: #fff; }
.product-config-header h2 { margin: 0; color: #3d4651; font-size: 16px; font-weight: 600; }
.product-config-header button { padding: 5px 8px; color: #858e99; font-size: 27px; line-height: 1; }
.product-config-content { min-height: 0; flex: 1; overflow-y: auto; padding: 22px 30px 34px; background: #fff; }
.product-config-footer { flex: 0 0 64px; height: 64px; display: flex; align-items: center; gap: 10px; padding: 0 22px; border-top: 1px solid #e7ebef; background: #fff; box-shadow: 0 -3px 10px rgba(35, 48, 62, .04); }
.product-config-footer button { height: 34px; min-width: 64px; padding: 0 18px; border-radius: 3px; font-size: 14px; }
.product-config-confirm { color: #fff; background: #2698f5; }
.product-config-confirm:hover { background: #168bed; }
.product-config-confirm:disabled { color: #a6afb9; background: #eef1f4; cursor: not-allowed; }
.product-config-cancel { border: 1px solid #d8dee6; color: #59616d; background: #fff; }
.product-config-section + .product-config-section { margin-top: 28px; }
.product-config-section h3 { margin: 0 0 22px; color: #26313d; font-size: 17px; line-height: 1.4; font-weight: 700; }
.config-product-caption { margin: -10px 0 22px; color: #8a949f; font-size: 13px; }
.config-description-section h3 { margin-bottom: 12px; }
.config-description { padding: 13px 15px; border: 1px solid #d9eafb; border-radius: 4px; color: #536273; background: #f3f8fe; font-size: 13px; line-height: 1.75; }
.config-field { min-height: 52px; display: grid; grid-template-columns: 116px minmax(0, 1fr); align-items: start; column-gap: 14px; }
.config-field > label, .config-field > .config-label { padding-top: 9px; color: #555e69; font-size: 14px; line-height: 1.4; text-align: right; }
.config-required::before { content: "*"; margin-right: 5px; color: #f05656; }
.price-control-row { display: flex; align-items: center; gap: 11px; }
.customer-increment-price-row { gap: 8px; }
.customer-increment-price-row input { width: 105px; height: 34px; padding: 0 10px; border: 1px solid #dfe4ea; border-radius: 4px; outline: none; color: #59616d; }
.customer-increment-price-row input:focus { border-color: #409eff; box-shadow: 0 0 0 2px rgba(64, 158, 255, .1); }
.customer-increment-price-row .price-fixed-unit, .customer-increment-price-row .price-divider { flex: 0 0 auto; color: #69727d; font-size: 14px; }
.customer-increment-price-row .price-divider { color: #9aa3ad; }
.price-input-group { width: 190px; height: 34px; display: flex; border: 1px solid #dfe4ea; border-radius: 4px; overflow: hidden; background: #fff; }
.price-input-group:focus-within { border-color: #409eff; box-shadow: 0 0 0 2px rgba(64, 158, 255, .1); }
.price-input-group input { min-width: 0; flex: 1; padding: 0 11px; border: 0; outline: 0; color: #59616d; }
.price-input-group span { flex: 0 0 49px; display: grid; place-items: center; border-left: 1px solid #e4e8ed; color: #969faa; background: #f7f8fa; }
.config-help { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #293442; font-size: 12px; font-weight: 700; cursor: help; }
.config-field select { width: 100%; height: 34px; padding: 0 32px 0 11px; border: 1px solid #dfe4ea; border-radius: 4px; outline: none; color: #59616d; background: #fff; }
.config-field select:focus { border-color: #409eff; box-shadow: 0 0 0 2px rgba(64, 158, 255, .1); }
.upload-control { display: flex; align-items: flex-start; gap: 10px; padding-bottom: 14px; }
.upload-tile { width: 78px; height: 78px; display: grid; place-items: center; position: relative; overflow: hidden; border: 1px solid #e0e6ec; border-radius: 8px; color: #ccd4dd; background: #fbfcfd; cursor: pointer; }
.upload-tile:hover { border-color: #8fc5f6; color: #409eff; }
.upload-tile input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.upload-plus { font-size: 31px; font-weight: 200; line-height: 1; }
.mock-service-image { border: 0; color: #fff; background: linear-gradient(135deg, #9b4dff 0%, #7847ef 100%); font-size: 31px; font-weight: 700; box-shadow: 0 7px 15px rgba(133, 70, 241, .22); cursor: default; }
.mock-service-image::after { content: "+"; position: absolute; right: 14px; bottom: 13px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: #8a4bf4; background: #fff; font-size: 15px; }
.upload-file-name { max-width: 230px; align-self: center; color: #7c8692; font-size: 12px; word-break: break-all; }
.pending-config { min-height: 360px; display: grid; place-items: center; text-align: center; color: #87919d; }
.pending-config h3 { margin: 0 0 10px; color: #4d5762; font-size: 18px; }
.pending-config p { max-width: 360px; margin: 0; line-height: 1.8; }

@media (max-width: 1350px) {
  .enterprise-page .primary-sidebar { flex-basis: 196px; }
  .product-secondary-sidebar { flex-basis: 170px; min-width: 170px; }
  .product-status-tabs { gap: 25px; }
  .product-search-controls select { width: 112px; }
  .product-name-search input { width: 190px; }
}
