/* Showcase Services Widget - Premium Scoped Styles */
/* All styles prefixed with .ssw- to prevent Elementor conflicts */

.ssw-widget {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.ssw-widget *,
.ssw-widget *::before,
.ssw-widget *::after {
  box-sizing: border-box;
}

/* ============================================
   TABS - Pill Style with Premium States
   ============================================ */

.ssw-tabs-container-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 2.5rem;
  position: relative;
}

.ssw-tabs-container {
  border-bottom: 1px solid #e5e7eb;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #007bff transparent;
  flex: 1;
  min-width: 0;
  padding-bottom: 0.5rem;
  scroll-behavior: smooth;
}

.ssw-tabs-container::-webkit-scrollbar {
  height: 6px;
}

.ssw-tabs-container::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 3px;
}

.ssw-tabs-container::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  border-radius: 3px;
}

.ssw-tabs-container::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
}

/* Tab Navigation Arrows */
.ssw-tabs-nav-arrow {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  border: 1px solid #007bff;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 6px -1px rgba(0, 123, 255, 0.3), 0 2px 4px -1px rgba(0, 123, 255, 0.2);
  font-family: inherit;
  padding: 0;
}

.ssw-tabs-nav-arrow:hover {
  background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
  border-color: #0056b3;
  box-shadow: 0 6px 8px -1px rgba(0, 123, 255, 0.35), 0 4px 6px -1px rgba(0, 123, 255, 0.25);
  transform: scale(1.05);
}

.ssw-tabs-nav-arrow:active {
  transform: scale(0.95);
}

.ssw-tabs-nav-arrow:disabled,
.ssw-tabs-nav-arrow.ssw-hidden {
  opacity: 0;
  pointer-events: none;
  cursor: not-allowed;
  visibility: hidden;
}

.ssw-tabs-nav-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.5;
}

.ssw-tabs-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.75rem;
  min-width: max-content;
}

.ssw-tab-button {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  border-radius: 9999px;
  transition: all 0.2s ease;
  white-space: nowrap;
  position: relative;
  font-family: inherit;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
  max-height: 56px;
  min-height: 56px;
}

.ssw-tab-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

/* Icon Image Base Styles */
.ssw-icon-img {
  display: block !important;
  object-fit: contain;
  flex-shrink: 0;
}

/* Override general img rules for icon images */
.ssw-icon-img--tab {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
}

.ssw-icon-img--header {
  width: 96px !important;
  height: 96px !important;
  max-width: 96px !important;
  max-height: 96px !important;
  min-width: 96px !important;
  min-height: 96px !important;
}

.ssw-icon-img--header-design {
  width: 128px !important;
  height: 128px !important;
  max-width: 128px !important;
  max-height: 128px !important;
  min-width: 128px !important;
  min-height: 128px !important;
}

.ssw-icon-img--header-smartflow {
  width: 160px !important;
  height: 160px !important;
  max-width: 160px !important;
  max-height: 160px !important;
  min-width: 160px !important;
  min-height: 160px !important;
}

.ssw-tab-label {
  display: inline-block;
}

.ssw-tab-button:hover {
  color: #374151;
  background: #ffffff;
  border-color: #d1d5db;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.ssw-tab-button.ssw-active {
  color: #ffffff;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  border-color: #007bff;
  font-weight: 600;
  box-shadow: 0 4px 6px -1px rgba(0, 123, 255, 0.3), 0 2px 4px -1px rgba(0, 123, 255, 0.2);
  transform: translateY(-1px);
}

.ssw-tab-button.ssw-active:hover {
  background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
  box-shadow: 0 6px 8px -1px rgba(0, 123, 255, 0.35), 0 4px 6px -1px rgba(0, 123, 255, 0.25);
}

/* ============================================
   DESIGN SUB-TABS (Nested inside Design tab)
   ============================================ */

.ssw-design-products-header {
  margin: 2.5rem 0 1.5rem 0;
  width: 100%;
}

.ssw-design-products-header-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.ssw-subtabs-container {
  border-bottom: 1px solid #e5e7eb;
  margin: 0 0 1.5rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  width: 100%;
  padding-bottom: 0.5rem;
}

.ssw-subtabs-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.625rem;
  min-width: max-content;
}

.ssw-subtab-button {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 0.625rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  border-radius: 9999px;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: inherit;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
}

.ssw-subtab-button:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.ssw-subtab-button.ssw-active {
  color: #ffffff;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  border-color: #007bff;
  box-shadow: 0 4px 6px -1px rgba(0, 123, 255, 0.25), 0 2px 4px -1px rgba(0, 123, 255, 0.18);
}

.ssw-design-subtabs-content {
  width: 100%;
}

.ssw-design-subtab-panel {
  width: 100%;
}

.ssw-design-subtab-panel:not(.ssw-active) {
  display: none;
}

/* Product accordions */
.ssw-design-products {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.ssw-accordion {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.ssw-accordion-button {
  width: 100%;
  text-align: left;
  background: #ffffff;
  border: none;
  padding: 1.125rem 1.125rem;
  cursor: pointer;
  display: block;
  transition: background 0.2s ease;
}

.ssw-accordion-button:hover {
  background: #f9fafb;
}

.ssw-accordion-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.ssw-accordion-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.3;
}

.ssw-accordion-chevron {
  width: 10px;
  height: 10px;
  margin-top: 0.25rem;
  border-right: 2px solid #6b7280;
  border-bottom: 2px solid #6b7280;
  transform: rotate(45deg);
  transition: transform 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.ssw-accordion-button[aria-expanded="true"] .ssw-accordion-chevron {
  transform: rotate(-135deg);
  border-color: #007bff;
}

.ssw-accordion-short {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.6;
  font-weight: 500;
}

.ssw-accordion-panel {
  padding: 0 1.125rem 1.125rem 1.125rem;
  background: #ffffff;
}

.ssw-accordion-expanded {
  margin: 0.75rem 0 0 0;
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.7;
}

.ssw-design-empty {
  padding: 1rem 1.25rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  color: #6b7280;
  font-size: 0.9375rem;
}

/* ============================================
   TAB CONTENT - Smooth Transitions
   ============================================ */

.ssw-tab-content {
  display: block;
  animation: ssw-fadeIn 0.4s ease-out;
  width: 100%;
}

@keyframes ssw-fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }

  .ssw-design-products-header {
    margin: 2rem 0 1.25rem 0;
  }

  .ssw-design-products-header-title {
    font-size: 1.25rem;
  }

  .ssw-subtabs-container {
    margin-bottom: 1.25rem;
  }

  .ssw-subtab-button {
    padding: 0.5625rem 1rem;
    font-size: 0.8125rem;
  }

  .ssw-accordion-button {
    padding: 1rem 1rem;
  }

  .ssw-accordion-panel {
    padding: 0 1rem 1rem 1rem;
  }
}

/* ============================================
   CONTENT LAYOUT - Premium Spacing
   ============================================ */

.ssw-content-wrapper {
  width: 100%;
  margin-bottom: 1rem;
}

/* ============================================
   LEFT COLUMN - Typography Hierarchy
   ============================================ */

.ssw-content-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

/* Panel Header - Icon and Title side by side */
.ssw-panel-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  width: 100%;
}

.ssw-panel-header-icon {
  width: 112px;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Special container size for design icon */
.ssw-panel-header-icon.ssw-panel-header-icon--design {
  width: 144px;
  height: 144px;
}

/* Special container size for smartflow icon */
.ssw-panel-header-icon.ssw-panel-header-icon--smartflow {
  width: 176px;
  height: 176px;
}

.ssw-panel-header-icon .ssw-icon-img--header {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.ssw-panel-header-icon .ssw-service-icon {
  font-size: 2.5rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.ssw-panel-header-content {
  flex: 1;
  min-width: 0;
}

.ssw-service-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Legacy support - keep for backwards compatibility */
.ssw-service-icon {
  font-size: 3.5rem;
  margin-bottom: 0.25rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
}

.ssw-service-icon img {
  width: 80px;
  height: auto;
  max-width: 100px;
  max-height: 100px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.ssw-service-description {
  font-size: 1.0625rem;
  color: #4b5563;
  margin: 0.5rem 0 1rem 0;
  line-height: 1.7;
  font-weight: 400;
}

.ssw-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.ssw-features-list li {
  padding: 0.625rem 0;
  padding-left: 2rem;
  position: relative;
  color: #374151;
  line-height: 1.6;
  font-size: 1rem;
}

.ssw-features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.625rem;
  color: #007bff;
  font-weight: 700;
  font-size: 1.125rem;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  border-radius: 50%;
  font-size: 0.875rem;
}

/* ============================================
   SECTIONS - Card Style
   ============================================ */

.ssw-sections-header {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 1.25rem 0 1rem 0;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.ssw-sections {
  margin: 0 0 1rem 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .ssw-sections {
    flex-direction: column;
  }
}

.ssw-section {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  border: 1px solid #007bff;
  border-radius: 12px;
  padding: 1.75rem;
  flex: 1;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 123, 255, 0.3), 0 2px 4px -1px rgba(0, 123, 255, 0.2);
  color: #ffffff;
}

.ssw-section:hover {
  background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
  box-shadow: 0 6px 8px -1px rgba(0, 123, 255, 0.35), 0 4px 6px -1px rgba(0, 123, 255, 0.25);
  border-color: #0056b3;
}

.ssw-section-icon {
  width: auto;
  height: 64px;
  max-width: 160px;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  display: block;
}

.ssw-section-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0 0 0.875rem 0;
  color: #ffffff;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.ssw-section-description {
  font-size: 1rem;
  color: #ffffff;
  margin: 0 0 1.25rem 0;
  line-height: 1.65;
}

/* Section Image */
.ssw-section-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  display: block;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

/* Section Media */
.ssw-section-media {
  margin-top: 1.25rem;
  width: 100%;
}

.ssw-section-media-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  display: block;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

/* ============================================
   UPGRADES - Modern Chips/Badges
   ============================================ */

.ssw-upgrades {
  margin: 1rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  border: 1px solid #007bff;
  border-radius: 12px;
  width: 100%;
  box-shadow: 0 4px 6px -1px rgba(0, 123, 255, 0.3), 0 2px 4px -1px rgba(0, 123, 255, 0.2);
  color: #ffffff;
}

.ssw-upgrades-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.ssw-upgrades-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.ssw-upgrades-list li {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  font-size: 0.875rem;
  color: #ffffff;
  line-height: 1.4;
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}

.ssw-upgrades-list li:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

/* ============================================
   HERO IMAGE
   ============================================ */

.ssw-hero-image {
  margin-bottom: 2rem;
  width: 100%;
}

.ssw-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* ============================================
   SLIDER - Elevated Frame
   ============================================ */

.ssw-slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  margin-top: 1rem;
}

.ssw-slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.ssw-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 0;
  background: #000;
  overflow: hidden;
}

.ssw-slide.ssw-active {
  opacity: 1;
  z-index: 1;
}

.ssw-slide img:not(.ssw-video-thumbnail) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
}

/* Photography carousel: contain images inside the frame (avoid cropping) */
.ssw-slider-container[data-slider-id="photography"] .ssw-slide img,
.ssw-slider-container[data-slider-id="photography"] .ssw-slider-image,
.ssw-slider-container[data-slider-id="photography"] .ssw-image-slide img {
  object-fit: contain !important;
  object-position: center center;
}

/* Design carousel: contain mockups inside the frame (avoid cropping) */
.ssw-slider-container[data-slider-id="design"] {
  /* Design mockups are often square/portrait; keep a consistent square frame */
  aspect-ratio: 1 / 1;
  /*
    Make the square slider roughly the same HEIGHT as the default 16:9 sliders.
    Default slider height is (100% width * 9/16). For a square to match that height,
    its width must be ~56.25% of the available width.
  */
  width: min(100%, max(280px, calc(100% * 9 / 16)));
  margin-left: auto;
  margin-right: auto;
  background: #ffffff;
}

.ssw-slider-container[data-slider-id="design"] .ssw-slide,
.ssw-slider-container[data-slider-id="design"] .ssw-image-slide,
.ssw-slider-container[data-slider-id="design"] .ssw-mp4-slide {
  background: #ffffff;
}

.ssw-slider-container[data-slider-id="design"] .ssw-slide img,
.ssw-slider-container[data-slider-id="design"] .ssw-slider-image {
  object-fit: contain !important;
  object-position: center center;
  background: #ffffff;
}

/* Design carousel video thumbnails should still cover to avoid black bars */
.ssw-slider-container[data-slider-id="design"] .ssw-video-thumbnail {
  object-fit: cover !important;
  object-position: center center;
  background: #000;
}

.ssw-slider-container[data-slider-id="design"] .ssw-mp4-video {
  object-fit: contain;
  background: #ffffff;
}

/* Video Slide */
.ssw-video-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background: #000;
  overflow: hidden;
}

.ssw-video-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  margin: 0;
  padding: 0;
}

/* Image Slide */
.ssw-image-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.ssw-image-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ssw-video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  pointer-events: none;
  backdrop-filter: blur(4px);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.ssw-video-slide:hover .ssw-video-play-overlay {
  background: rgba(0, 123, 255, 0.9);
  transform: translate(-50%, -50%) scale(1.15);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 16px rgba(0, 123, 255, 0.4);
}

.ssw-video-play-icon {
  width: 0;
  height: 0;
  border-left: 32px solid #fff;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  margin-left: 10px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.ssw-video-iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
}

/* MP4 Slide (HTML5 video) */
.ssw-mp4-slide {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
}

.ssw-mp4-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  object-fit: contain; /* vertical videos letterbox nicely inside 16:9 container */
}

.ssw-mp4-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 6; /* above label */
  border: 3px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  cursor: pointer;
  padding: 0;
}

.ssw-mp4-slide:hover .ssw-mp4-play-overlay {
  background: rgba(0, 123, 255, 0.9);
  transform: translate(-50%, -50%) scale(1.15);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 16px rgba(0, 123, 255, 0.4);
}

.ssw-mp4-play-icon {
  width: 0;
  height: 0;
  border-left: 32px solid #fff;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  margin-left: 10px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Hide overlay while playing */
.ssw-mp4-slide.ssw-is-playing .ssw-mp4-play-overlay {
  display: none;
}

/* Move label away from default play/controls area for mp4 slides */
.ssw-mp4-slide .ssw-video-type-label {
  top: 1.25rem;
  bottom: auto;
  left: 1.25rem;
}

@media (max-width: 768px) {
  .ssw-mp4-play-overlay {
    width: 72px;
    height: 72px;
  }

  .ssw-mp4-play-icon {
    border-left-width: 24px;
    border-top-width: 16px;
    border-bottom-width: 16px;
    margin-left: 8px;
  }
}

/* Matterport Slide */
.ssw-matterport-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.ssw-matterport-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Property Website Container */
.ssw-property-website-container {
  position: relative;
  width: 100%;
  min-height: 800px;
  height: 800px;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.ssw-property-website-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Property Website Logo */
.ssw-property-website-logo {
  margin: 1rem 0 0.75rem 0;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.ssw-property-website-logo img {
  max-width: 100%;
  height: auto;
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

/* Video Type Label */
.ssw-video-type-label {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  padding: 0.625rem 1rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  z-index: 4;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ============================================
   SLIDER CONTROLS - Premium UI
   ============================================ */

.ssw-slider-controls {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.625rem;
  z-index: 10;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
}

.ssw-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  pointer-events: all;
}

.ssw-slider-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.ssw-slider-dot.ssw-active {
  background-color: #ffffff;
  width: 28px;
  border-radius: 9999px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ssw-slider-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1.25rem;
  z-index: 10;
  pointer-events: none;
}

.ssw-slider-arrow {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  border: 1px solid #007bff;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: all;
  font-family: inherit;
  box-shadow: 0 4px 6px -1px rgba(0, 123, 255, 0.3), 0 2px 4px -1px rgba(0, 123, 255, 0.2);
  backdrop-filter: blur(8px);
}

.ssw-slider-arrow:hover {
  background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
  transform: scale(1.1);
  box-shadow: 0 8px 12px -2px rgba(0, 123, 255, 0.35), 0 4px 6px -1px rgba(0, 123, 255, 0.25);
  border-color: #0056b3;
}

.ssw-slider-arrow:active {
  transform: scale(0.95);
}

.ssw-slider-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: scale(1);
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.4) 0%, rgba(0, 86, 179, 0.4) 100%);
}

.ssw-slider-arrow:disabled:hover {
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.4) 0%, rgba(0, 86, 179, 0.4) 100%);
  transform: scale(1);
  box-shadow: 0 4px 6px -1px rgba(0, 123, 255, 0.3), 0 2px 4px -1px rgba(0, 123, 255, 0.2);
  border-color: rgba(0, 123, 255, 0.4);
}

.ssw-slider-arrow svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.5;
}

.ssw-slider-image {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.ssw-slider-image:hover {
  opacity: 0.9;
}

/* ============================================
   CTA SECTION - Premium Buttons
   ============================================ */

.ssw-cta-section {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

.ssw-cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.0625rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.5;
  box-shadow: 0 4px 6px -1px rgba(0, 123, 255, 0.3), 0 2px 4px -1px rgba(0, 123, 255, 0.2);
  letter-spacing: 0.01em;
}

.ssw-cta-button:hover {
  background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 123, 255, 0.4), 0 4px 6px -2px rgba(0, 123, 255, 0.3);
  color: #ffffff !important;
  text-decoration: none;
}

.ssw-cta-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 6px -1px rgba(0, 123, 255, 0.3), 0 2px 4px -1px rgba(0, 123, 255, 0.2);
  color: #ffffff !important;
}

.ssw-pricing-link {
  color: #007bff;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.2s ease;
  font-family: inherit;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
}

.ssw-pricing-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #007bff;
  transition: width 0.3s ease;
}

.ssw-pricing-link:hover {
  color: #0056b3;
  text-decoration: none;
}

.ssw-pricing-link:hover::after {
  width: 100%;
}

/* ============================================
   LOADING & ERROR STATES
   ============================================ */

.ssw-loading {
  text-align: center;
  padding: 3rem;
  color: #6b7280;
  font-size: 1rem;
}

.ssw-error {
  text-align: center;
  padding: 2rem;
  color: #dc2626;
  background-color: #fef2f2;
  border-radius: 8px;
  margin: 1rem 0;
  border: 1px solid #fecaca;
}

/* ============================================
   PREVIEW MODE (Local Dev Only)
   ============================================ */

.ssw-preview-mode {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 100%;
}

.ssw-preview-vertical {
  padding: 2.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background-color: #ffffff;
  width: 100%;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.ssw-preview-vertical-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 2rem 0;
  padding-bottom: 1rem;
  border-bottom: 3px solid #007bff;
  color: #007bff;
  letter-spacing: -0.02em;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
  .ssw-tabs-container-wrapper {
    margin-bottom: 2rem;
    gap: 0.5rem;
  }

  .ssw-tabs-container {
    margin-left: -1rem;
    margin-right: -1rem;
    padding: 0 1rem;
  }

  .ssw-tabs-nav-arrow {
    width: 38px;
    height: 38px;
  }

  .ssw-tabs-nav-arrow svg {
    width: 18px;
    height: 18px;
  }

  .ssw-tabs-list {
    padding: 0;
    gap: 0.5rem;
  }

  .ssw-tab-button {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    gap: 10px;
    max-height: 52px;
    min-height: 52px;
  }

  .ssw-tab-icon {
    width: 40px;
    height: 40px;
  }

  .ssw-icon-img--tab {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
  }

  .ssw-icon-img--header {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
  }

  .ssw-icon-img--header-design {
    width: 112px !important;
    height: 112px !important;
    max-width: 112px !important;
    max-height: 112px !important;
    min-width: 112px !important;
    min-height: 112px !important;
  }

  .ssw-icon-img--header-smartflow {
    width: 140px !important;
    height: 140px !important;
    max-width: 140px !important;
    max-height: 140px !important;
    min-width: 140px !important;
    min-height: 140px !important;
  }

  .ssw-panel-header {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
  }

  .ssw-panel-header-icon {
    width: 96px;
    height: 96px;
  }

  .ssw-panel-header-icon.ssw-panel-header-icon--design {
    width: 112px;
    height: 112px;
  }

  .ssw-panel-header-icon.ssw-panel-header-icon--smartflow {
    width: 156px;
    height: 156px;
  }

  .ssw-service-title {
    font-size: 1.875rem;
    margin: 0;
  }

  .ssw-service-icon {
    font-size: 3rem;
  }

  .ssw-service-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .ssw-content-left {
    gap: 0.75rem;
  }

  .ssw-section {
    padding: 1.5rem;
  }

  .ssw-section-icon {
    height: 48px;
    max-width: 120px;
    margin-bottom: 0.875rem;
  }

  .ssw-section-title {
    font-size: 1.25rem;
  }

  .ssw-slider-arrow {
    width: 44px;
    height: 44px;
  }

  .ssw-slider-arrow svg {
    width: 20px;
    height: 20px;
  }

  .ssw-video-play-overlay {
    width: 72px;
    height: 72px;
  }

  .ssw-video-play-icon {
    border-left-width: 24px;
    border-top-width: 16px;
    border-bottom-width: 16px;
    margin-left: 8px;
  }

  .ssw-video-type-label {
    bottom: 0.875rem;
    left: 0.875rem;
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
  }

  .ssw-cta-section {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  /* Design carousel stays square on mobile as well */
  .ssw-slider-container[data-slider-id="design"] { aspect-ratio: 1 / 1; }

  .ssw-cta-button {
    width: 100%;
    text-align: center;
    padding: 1rem 2rem;
  }

  .ssw-section-image {
    max-width: 100%;
  }

  .ssw-upgrades {
    padding: 1.25rem;
  }

  .ssw-upgrades-list {
    gap: 0.5rem;
  }

  .ssw-upgrades-list li {
    font-size: 0.8125rem;
    padding: 0.4375rem 0.875rem;
  }

  .ssw-property-website-container {
    min-height: 600px;
    height: 600px;
  }

  .ssw-property-website-logo {
    margin: 0.75rem 0 0.5rem 0;
  }

  .ssw-property-website-logo img {
    max-height: 50px;
  }
}

/* ============================================
   ELEMENTOR CONFLICT PREVENTION
   ============================================ */

.ssw-widget h1,
.ssw-widget h2,
.ssw-widget h3,
.ssw-widget h4,
.ssw-widget h5,
.ssw-widget h6 {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-weight: inherit;
}

.ssw-widget p {
  margin-top: 0;
  margin-bottom: 1em;
}

.ssw-widget ul,
.ssw-widget ol {
  margin-top: 0;
  margin-bottom: 1em;
  padding-left: 0;
}

.ssw-widget a {
  color: inherit;
  text-decoration: none;
}

.ssw-widget img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Override for video thumbnails to fill container */
.ssw-widget .ssw-video-thumbnail {
  max-width: none !important;
  height: 100% !important;
  width: 100% !important;
}

/* Exclude icon images from general img rules */
.ssw-widget .ssw-icon-img {
  max-width: none !important;
  height: auto !important;
}

/* Ensure icon images maintain their specified sizes */
.ssw-widget .ssw-icon-img--tab {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
}

.ssw-widget .ssw-icon-img--header {
  width: 96px !important;
  height: 96px !important;
  max-width: 96px !important;
  max-height: 96px !important;
  min-width: 96px !important;
  min-height: 96px !important;
}

.ssw-widget .ssw-icon-img--header-design {
  width: 128px !important;
  height: 128px !important;
  max-width: 128px !important;
  max-height: 128px !important;
  min-width: 128px !important;
  min-height: 128px !important;
}

.ssw-widget .ssw-icon-img--header-smartflow {
  width: 160px !important;
  height: 160px !important;
  max-width: 160px !important;
  max-height: 160px !important;
  min-width: 160px !important;
  min-height: 160px !important;
}

.ssw-widget button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* ============================================
   LIGHTBOX - Full Screen Image Viewer
   ============================================ */

.ssw-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ssw-lightbox.ssw-active {
  opacity: 1;
  visibility: visible;
}

.ssw-lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(4px);
}

.ssw-lightbox-content {
  position: relative;
  width: 90%;
  max-width: 1400px;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.ssw-lightbox-image-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ssw-lightbox-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.ssw-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
  backdrop-filter: blur(8px);
}

.ssw-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.ssw-lightbox-prev,
.ssw-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
  backdrop-filter: blur(8px);
}

.ssw-lightbox-prev {
  left: 1.5rem;
}

.ssw-lightbox-next {
  right: 1.5rem;
}

.ssw-lightbox-prev:hover,
.ssw-lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.ssw-lightbox-prev:disabled,
.ssw-lightbox-next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.ssw-lightbox-prev:disabled:hover,
.ssw-lightbox-next:disabled:hover {
  transform: translateY(-50%) scale(1);
}

.ssw-lightbox-prev svg,
.ssw-lightbox-next svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  stroke: currentColor;
}

.ssw-lightbox-counter {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.9375rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  z-index: 2;
}

@media (max-width: 768px) {
  .ssw-lightbox-content {
    width: 95%;
    height: 95%;
  }

  .ssw-lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .ssw-lightbox-prev,
  .ssw-lightbox-next {
    width: 44px;
    height: 44px;
  }

  .ssw-lightbox-prev {
    left: 0.5rem;
  }

  .ssw-lightbox-next {
    right: 0.5rem;
  }

  .ssw-lightbox-prev svg,
  .ssw-lightbox-next svg {
    width: 24px;
    height: 24px;
  }

  .ssw-lightbox-counter {
    bottom: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}

/* Prevent text selection on UI elements */
.ssw-tab-button,
.ssw-slider-arrow,
.ssw-slider-dot {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Utility class for hiding elements */
.ssw-hidden {
  display: none !important;
}

/* Hide Cubi Casa photographer attribution via CSS overlay */
.ssw-matterport-iframe {
  position: relative;
}

/* Add overlay to hide bottom attribution area in Cubi Casa tours */
.ssw-matterport-slide[data-tour-id*="floorplans"] .ssw-matterport-iframe::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 50%, transparent 100%);
  pointer-events: none;
  z-index: 9999;
}

/* ============================================
   SMARTFLOW FORMAT CONTAINERS
   ============================================ */

.ssw-smartflow-formats {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  margin: 2.5rem 0;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .ssw-smartflow-formats {
    flex-direction: column;
  }
}

.ssw-smartflow-format-card {
  flex: 1;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #6366f1 100%);
  border-radius: 12px;
  padding: 2rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 10px 25px -5px rgba(30, 64, 175, 0.4), 0 4px 6px -2px rgba(30, 64, 175, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ssw-smartflow-format-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

.ssw-smartflow-format-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px -5px rgba(30, 64, 175, 0.5), 0 8px 10px -2px rgba(30, 64, 175, 0.4);
}

.ssw-smartflow-video-preview {
  width: 100%;
  margin-bottom: 0.5rem;
  position: relative;
}

.ssw-smartflow-video-preview .ssw-video-slide {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  position: relative;
  margin-bottom: 0.75rem;
}

.ssw-smartflow-video-preview .ssw-video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ssw-smartflow-live-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(239, 68, 68, 0.9);
  color: #ffffff;
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 5;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ssw-smartflow-video-hint {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  margin: 0;
  font-style: italic;
}

.ssw-smartflow-format-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.ssw-smartflow-format-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1;
  letter-spacing: -0.03em;
}

.ssw-smartflow-format-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.ssw-smartflow-format-key-feature {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  font-weight: 600;
  line-height: 1.5;
}

.ssw-smartflow-format-descriptions {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.ssw-smartflow-format-descriptions li {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  padding-left: 1.5rem;
  position: relative;
}

.ssw-smartflow-format-descriptions li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  line-height: 1;
  top: 0.25rem;
}

.ssw-smartflow-format-cta {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  margin-top: auto;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ssw-smartflow-format-cta:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  text-decoration: none;
}

.ssw-smartflow-format-cta:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .ssw-smartflow-formats {
    gap: 1.25rem;
    margin: 2rem 0;
  }

  .ssw-smartflow-format-card {
    padding: 1.5rem;
    gap: 1rem;
  }

  .ssw-smartflow-format-title {
    font-size: 1.25rem;
  }

  .ssw-smartflow-format-price {
    font-size: 2rem;
  }

  .ssw-smartflow-format-tagline {
    font-size: 0.8125rem;
  }

  .ssw-smartflow-format-key-feature {
    font-size: 0.9375rem;
  }

  .ssw-smartflow-format-descriptions li {
    font-size: 0.875rem;
  }

  .ssw-smartflow-format-cta {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
  }
}

/* ============================================
   CLIPS FORMAT CONTAINERS
   ============================================ */

.ssw-clips-formats {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  margin: 2.5rem 0;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .ssw-clips-formats {
    flex-direction: column;
  }
}

.ssw-clips-format-card {
  flex: 1;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 50%, #004085 100%);
  border-radius: 12px;
  padding: 2rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 10px 25px -5px rgba(0, 123, 255, 0.4), 0 4px 6px -2px rgba(0, 123, 255, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ssw-clips-format-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

.ssw-clips-format-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px -5px rgba(0, 123, 255, 0.5), 0 8px 10px -2px rgba(0, 123, 255, 0.4);
}

.ssw-clips-format-icon {
  width: 88px;
  height: 88px;
  object-fit: contain;
  display: block;
  margin: 0 auto 0.5rem auto; /* centered, above headers */
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

.ssw-clips-format-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.ssw-clips-format-header {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.ssw-clips-format-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  line-height: 1.65;
}

.ssw-clips-format-templates {
  margin-top: 0.5rem;
}

.ssw-clips-format-templates-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.ssw-clips-format-templates-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.ssw-clips-format-templates-list li {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  padding-left: 1.5rem;
  position: relative;
}

.ssw-clips-format-templates-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  line-height: 1;
  top: 0.25rem;
}

@media (max-width: 768px) {
  .ssw-clips-formats {
    gap: 1.25rem;
    margin: 2rem 0;
  }

  .ssw-clips-format-card {
    padding: 1.5rem;
    gap: 1rem;
  }

  .ssw-clips-format-title {
    font-size: 1.25rem;
  }

  .ssw-clips-format-header {
    font-size: 1.125rem;
  }

  .ssw-clips-format-description {
    font-size: 0.9375rem;
  }

  .ssw-clips-format-templates-title {
    font-size: 1rem;
  }

  .ssw-clips-format-templates-list li {
    font-size: 0.875rem;
  }
}
