/**
 * Soft Flames Elementor Widgets & Layout Styles
 */

/* ----------------------------------------------------
 * 1. Hero Banner Component
 * ---------------------------------------------------- */
.sf-hero {
  padding: var(--sf-space-12) 0;
  background-color: var(--sf-color-bg);
  position: relative;
  overflow: hidden;
}

.sf-hero__container {
  max-width: var(--sf-container-width);
  margin: 0 auto;
  padding: 0 var(--sf-gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sf-space-8);
  align-items: center;
}

@media (min-width: 992px) {
  .sf-hero__container {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--sf-space-12);
  }
}

.sf-hero__title {
  font-size: var(--sf-text-4xl);
  line-height: 1.15;
  margin-bottom: var(--sf-space-4);
  color: var(--sf-color-heading);
}

.sf-hero__subtitle {
  font-size: var(--sf-text-lg);
  line-height: 1.5;
  color: var(--sf-color-text);
  margin-bottom: var(--sf-space-8);
  max-width: 540px;
}

.sf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sf-space-4);
}

.sf-hero__visual {
  position: relative;
  border-radius: var(--sf-radius-lg);
  overflow: hidden;
}

.sf-hero__img {
  width: 100%;
  height: auto;
  border-radius: var(--sf-radius-lg);
  object-fit: cover;
  box-shadow: var(--sf-shadow-md);
}

/* ----------------------------------------------------
 * 2. Categories & Lines Grid
 * ---------------------------------------------------- */
.sf-categories-section {
  padding: var(--sf-space-16) 0;
  background-color: var(--sf-color-bg-alt);
}

.sf-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--sf-space-10) auto;
}

.sf-section-title {
  font-size: var(--sf-text-3xl);
  margin-bottom: var(--sf-space-2);
}

.sf-section-subtitle {
  font-size: var(--sf-text-base);
  color: var(--sf-color-text-muted);
}

.sf-lines-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sf-space-8);
}

@media (min-width: 768px) {
  .sf-lines-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sf-line-card {
  background: var(--sf-color-surface);
  border: 1px solid var(--sf-color-border);
  border-radius: var(--sf-radius-md);
  padding: var(--sf-space-8);
  box-shadow: var(--sf-shadow-sm);
  display: flex;
  flex-direction: column;
}

.sf-line-card__title {
  font-size: var(--sf-text-2xl);
  margin-bottom: var(--sf-space-2);
}

.sf-line-card__desc {
  font-size: var(--sf-text-sm);
  color: var(--sf-color-text-muted);
  margin-bottom: var(--sf-space-6);
  line-height: 1.5;
}

.sf-line-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--sf-space-3);
  margin-top: auto;
}

.sf-line-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sf-space-3) var(--sf-space-4);
  background-color: var(--sf-color-bg-alt);
  border: 1px solid var(--sf-color-border-light);
  border-radius: var(--sf-radius-sm);
  color: var(--sf-color-heading);
  transition: all var(--sf-transition);
}

.sf-line-card__link:hover {
  background-color: var(--sf-color-surface);
  border-color: var(--sf-color-gold);
  color: var(--sf-color-gold-accessible);
  transform: translateX(4px);
}

.sf-line-card__name {
  font-weight: 600;
  font-size: var(--sf-text-sm);
}

.sf-line-card__meta {
  font-size: var(--sf-text-xs);
  color: var(--sf-color-text-muted);
  margin-left: auto;
  margin-right: var(--sf-space-3);
}

.sf-line-card__arrow {
  color: var(--sf-color-gold-accessible);
  font-weight: bold;
}

/* ----------------------------------------------------
 * 3. B2B / Private Label Section
 * ---------------------------------------------------- */
.sf-b2b-section {
  padding: var(--sf-space-16) 0;
  background-color: var(--sf-color-bg);
}

.sf-b2b-card {
  background-color: var(--sf-color-surface);
  border: 1px solid var(--sf-color-border);
  border-radius: var(--sf-radius-lg);
  padding: var(--sf-space-10);
  box-shadow: var(--sf-shadow-sm);
}

.sf-b2b-badge {
  display: inline-block;
  background-color: var(--sf-color-bg-alt);
  border: 1px solid var(--sf-color-border);
  color: var(--sf-color-gold-accessible);
  font-size: var(--sf-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--sf-space-1) var(--sf-space-3);
  border-radius: var(--sf-radius-full);
  margin-bottom: var(--sf-space-4);
}

.sf-b2b-card__title {
  font-size: var(--sf-text-3xl);
  margin-bottom: var(--sf-space-4);
}

.sf-b2b-card__text {
  font-size: var(--sf-text-base);
  color: var(--sf-color-text);
  max-width: 720px;
  margin-bottom: var(--sf-space-8);
  line-height: 1.6;
}

.sf-b2b-card__features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sf-space-6);
  margin-bottom: var(--sf-space-8);
}

@media (min-width: 640px) {
  .sf-b2b-card__features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sf-b2b-feature {
  padding: var(--sf-space-4);
  background-color: var(--sf-color-bg-alt);
  border-radius: var(--sf-radius-sm);
}

.sf-b2b-feature strong {
  display: block;
  font-family: var(--sf-font-heading);
  font-size: var(--sf-text-2xl);
  color: var(--sf-color-gold-accessible);
  margin-bottom: var(--sf-space-1);
}

.sf-b2b-feature span {
  font-size: var(--sf-text-xs);
  color: var(--sf-color-text-muted);
}
