.fyxn-results {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  max-width: 100%;
  margin: 0 auto;
  background: #ffffff;
  overflow: hidden;
}

/* Top Header Section */
.fyxn-top-header {
  padding: 30px 20px 40px;
  background: #ffffff;
  color: #1F2545;
  text-align: left;
}

.fyxn-main-title {
  margin: 0 0 10px 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #1F2545;
}

.fyxn-header-description {
  margin: 0 0 25px 0;
  font-size: 16px;
  line-height: 1.5;
  color: #595959;
  max-width: 600px;
}

.fyxn-results-bar {
  background: #EBFFF5;
  padding: 15px 20px;
  border-radius: 8px;
  margin: 0;
  width: 100%;
  text-align: center;
}

.fyxn-results-text {
  font-size: 24px;
  font-weight: 600;
  color: #1F2545;
}

/* Header */
.fyxn-widget-header {
  padding: 20px;
  background: #ffffff;
  color: #1F2545;
}


.fyxn-widget-header h2 {
  margin: 0 0 10px 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: #1F2545;
}

.fyxn-results-count {
  margin: 0;
  font-size: 14px;
  color: #595959;
}

.fyxn-results-number {
  color: #00B55A;
  font-weight: 600;
}

/* Control Panel */
.fyxn-control-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px 20px;
  gap: 20px;
}

.fyxn-control-left {}

/* Main Layout */
.fyxn-main-layout {
  display: flex;
  gap: 20px;
  padding: 0 20px 20px;
}

/* Content */
.fyxn-widget-content {
  flex: 1;
  min-width: 0;
}

.fyxn-installers-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fyxn-product-selection {
  text-align: center;
  padding: 40px 20px;
}

.fyxn-product-selection h3 {
  margin-bottom: 20px;
  font-size: 18px;
  color: #1F2545;
}

.fyxn-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.fyxn-product-btn {
  padding: 15px 20px;
  border: 2px solid #E5E5E6;
  border-radius: 8px;
  background: white;
  color: #1F2545;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fyxn-product-btn:hover {
  border-color: #00B55A;
  background: #E6F7ED;
}

/* Filters Sidebar */
.fyxn-filters-sidebar {
  width: 280px;
  height: -moz-fit-content;
  height: fit-content;
  position: sticky;
  top: 20px;
}

.fyxn-filters-title {
  margin: 0 0 20px 0;
  font-size: 32px;
  font-weight: 600;
  color: #1F2545;
}

.fyxn-filter-section {
  margin-bottom: 25px;
  background: #FAFAFA;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
}

.fyxn-filter-divider {
  border: 1px solid #E5E5E6;
  border-bottom: none;
  margin: 16px 0;
}

.fyxn-filter-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 600;
  color: #1F2545;
}

.fyxn-filter-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fyxn-radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #1F2545;
  padding: 4px 0;
}

.fyxn-radio-option input[type="radio"] {
  display: none;
}

.fyxn-radio-custom {
  width: 16px;
  height: 16px;
  border: 1px solid #00B55A;
  border-radius: 50%;
  position: relative;
  transition: all 0.2s ease;
}

.fyxn-radio-option input[type="radio"]:checked + .fyxn-radio-custom {
  border-color: #00B55A;
  background: #00B55A;
}

.fyxn-radio-option input[type="radio"]:checked + .fyxn-radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
}

/* Certification thumbnail inside radio row */
.fyxn-cert-thumb {
  width: 22px;
  height: 22px;
  -o-object-fit: contain;
     object-fit: contain;
  margin-right: 4px;
}

/* Keep label text tidy next to small icon */
.fyxn-radio-option span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Result Component */
.fyxn-result-component {
  margin-bottom: 32px;
}

.fyxn-result-tabs {
  display: flex;
  justify-content: flex-start;
  margin-left: 20px;
  gap: 8px;
  margin-bottom: -1px;
}

.fyxn-tab {
  padding: 12px 16px;
  border: 1px solid #c8ceda;
  background: white;
  color: #1F2545;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 16px 16px 0 0;
  border-bottom: none;
}

.fyxn-tab.selected-active {
  background: #00B55A;
  color: white;
  border-color: #00B55A;
}

.fyxn-tab.selected-inactive {
  background: #1F2545;
  color: white;
  border-color: #1F2545;
}

.fyxn-tab.unselected {
  background: white;
  color: #1F2545;
}

.fyxn-result-card {
  background: white;
  border: 1px solid #E5E5E6;
  border-radius: 24px 24px 24px 24px;
  padding: 28px;
  position: relative;
  box-shadow: 0px 12px 25px 0px #1211270D;
}

.fyxn-result-card.selected {
  border-color: #00B55A;
}

.fyxn-card-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
}

/* Desktop Layout */
.fyxn-desktop-layout {
  display: flex;
  gap: 32px;
  width: 100%;
}

.fyxn-logo-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fyxn-logo-container {
  border: 1px solid #c8ceda;
  border-radius: 16px;
  height: 128px;
  width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fyxn-company-logo {
  width: 100%;
  height: 112px;
  -o-object-fit: contain;
     object-fit: contain;
}

.fyxn-images-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.fyxn-image-thumbnail {
  border: 1px solid #c8ceda;
  border-radius: 16px;
  width: 80px;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
}

.fyxn-thumbnail-img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}



/* Company Detail Section */
.fyxn-company-detail {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
}

.fyxn-about-image {
  border: 1px solid #c8ceda;
  border-radius: 16px;
  height: 200px;
  width: 15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fyxn-about-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.fyxn-company-description {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fyxn-company-title {
  font-size: 24px;
  font-weight: 700;
  color: #1F2545;
  margin: 0;
}

.fyxn-company-text {
  color: #1F2545;
  line-height: 1.6;
  margin: 0;
  max-width: 568px;
}

.fyxn-business-hours {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #1F2545;
}

.fyxn-hours-label {
  font-weight: 600;
}

/* Reviews Section – removed (reviews feature disabled) */

.fyxn-info-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
  color: #1F2545;
  font-weight: 500;
}

.fyxn-company-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fyxn-company-name {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #1F2545;
}

.fyxn-delivery-time {
  margin: 0;
  opacity: 0.7;
}

.fyxn-contact-info {
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0.7;
}

.fyxn-contact-method {
  display: flex;
  align-items: center;
  gap: 4px;
}

.fyxn-rating-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fyxn-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fyxn-star {
  color: #ffaD01;
}

.fyxn-location {
  margin: 4px 0 0 0;
}

/* Mobile Layout */
.fyxn-mobile-layout {
  display: none;
}

.fyxn-mobile-header {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.fyxn-mobile-logo {
  border: 1px solid #c8ceda;
  border-radius: 16px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fyxn-mobile-company-name {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #1F2545;
}

.fyxn-mobile-images {
  display: flex;
  gap: 8px;
}

.fyxn-mobile-image {
  border: 1px solid #c8ceda;
  border-radius: 8px;
  width: 48px;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
}

.fyxn-mobile-thumbnail {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

/* Selection Section */
.fyxn-selection-section {
  position: absolute;
  top: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  height: 70%;
  gap: 8px;
}

.fyxn-select-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid #c8ceda;
  border-radius: 24px;
  background: transparent;
  color: #1F2545;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 120px;
}

.fyxn-select-button.selected {
  background: rgba(0, 181, 90, 0.2);
  border-color: transparent;
}

.fyxn-select-text {
  color: inherit;
}

.fyxn-select-button.selected .fyxn-select-text {
  color: #00B55A;
}

.fyxn-select-indicator {
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border: 1px solid #c8ceda;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.fyxn-select-indicator.selected {
  background: #00B55A;
  border-color: transparent;
  color: white;
}

/* Bottom Bar */
.fyxn-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: #1F2545;
  color: white;
  padding: 0;
  border-radius: 16px 16px 0 0;
}

.fyxn-bottom-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.fyxn-bottom-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fyxn-bottom-check-icon {
  color: #00B55A;
  display: none;
}

.fyxn-bottom-count {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin: 0;
  white-space: nowrap;
}

.fyxn-bottom-count-light {
  font-weight: 400;
  display: block;
}

.fyxn-bottom-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}


.fyxn-bottom-request-mobile {
  display: block;
}

.fyxn-bottom-request-mobile-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #00B55A;
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.fyxn-bottom-request-mobile-btn:hover {
  background: #00994A;
}

.fyxn-bottom-request-desktop {
  display: none;
}

/* ButtonComponent Styles */
.fyxn-button-component {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  width: 100%;
  height: -moz-min-content;
  height: min-content;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.fyxn-button-primary {
  background: #00B55A;
  color: white;
}

.fyxn-button-primary:hover {
  background: #00994A;
}

.fyxn-button-border {
  background: white;
  border: 3px solid #00B55A;
  color: #00B55A;
}

.fyxn-button-border:hover {
  background: #E6F7ED;
  border-color: transparent;
}

.fyxn-button-border2 {
  background: transparent;
  border: 1px solid #1F2545;
  color: #1F2545;
  border-radius: 16px;
  padding: 14px 28px;
  margin-top: 20px;
  font-weight: 500;
}

.fyxn-button-light {
  color: #00B55A;
  background: #E6F7ED;
  padding: 14px;
  border-radius: 16px;
  font-weight: 500;
}

.fyxn-button-disabled {
  background: #93f3c3 !important;
}

.fyxn-button-disabled:hover {
  background: #93f3c3 !important;
}

/* Desktop styles */
@media (min-width: 1024px) {
  .fyxn-bottom-bar {
    position: sticky;
    bottom: 40px;
    left: auto;
    right: auto;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    border-radius: 24px;
  }

  .fyxn-bottom-bar-content {
    padding: 12px 24px;
  }

  .fyxn-bottom-check-icon {
    display: block;
  }

  .fyxn-bottom-count-light {
    display: inline;
  }

  .fyxn-bottom-request-mobile {
    display: none;
  }

  .fyxn-bottom-request-desktop {
    display: block;
  }
}

.fyxn-widget-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.fyxn-loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e2e8f0;
  border-top: 4px solid #1F2545;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.fyxn-widget-error {
  padding: 20px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #dc2626;
  text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
  .fyxn-main-layout {
    flex-direction: column;
    gap: 15px;
  }

  .fyxn-filters-sidebar {
    width: 100%;
    position: static;
    order: -1;
  }

  .fyxn-control-panel {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  
  .fyxn-control-left {
    justify-content: space-between;
  }
  
  .fyxn-card-content {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .fyxn-desktop-layout {
    display: none;
  }
  
  .fyxn-mobile-layout {
    display: block;
  }
  
  .fyxn-selection-section {
    position: static;
    margin-top: 16px;
    height: auto;
  }
  
  .fyxn-select-button {
    width: 100%;
  }
  
  .fyxn-widget-footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .fyxn-widget-actions {
    width: 100%;
    flex-direction: column;
  }
  
  .fyxn-compare-btn,
  .fyxn-request-btn {
    width: 100%;
  }
  
  .fyxn-product-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
} 

/* Review Card – removed (reviews feature disabled) */

/* Product list and icons */
.fyxn-product-list {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
  flex-wrap: wrap;
}

.fyxn-product-icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.fyxn-product-na {
  color: #595959;
  font-size: 14px;
  margin-left: 8px;
}

/* Helper: desktop-only block */
.fyxn-desktop-only { display: none; }
@media (min-width: 1024px) {
  .fyxn-desktop-only { display: block; }
} 


