.figma-classes {
  font-family: var(--figma-font);
  background: var(--figma-bg-light, #f6f8f9);
}

body:has(.figma-classes) .footer.figma-footer {
  margin-top: 0;
}

.figma-classes-banner {
  background: var(--figma-main, #00296b);
  border-radius: 0 0 40px 40px;
  min-height: 190px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  height: auto;
}

.figma-classes-banner::before,
.figma-classes-banner::after {
  display: none !important;
  content: none !important;
}

.figma-classes-banner .img-cover {
  display: none !important;
}

.figma-classes-banner-inner {
  position: relative;
  z-index: 2;
  max-width: var(--figma-header-max, 1440px) !important;
  width: 100%;
  padding: 36px var(--figma-header-pad-x, 64px) !important;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.figma-classes-crumb {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff !important;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
}

.figma-classes-crumb a,
.figma-classes-crumb > span:not(.figma-crumb-sep) {
  position: relative;
  z-index: 5;
  color: #fff !important;
  text-decoration: none !important;
}

.figma-classes-crumb a {
  cursor: pointer;
  pointer-events: auto !important;
  padding: 4px 2px;
  margin: -4px -2px;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 255, 255, 0.55);
}

.figma-classes-crumb a:hover {
  color: var(--figma-yellow, #fdc500) !important;
  text-decoration-color: var(--figma-yellow, #fdc500) !important;
}

.figma-classes-crumb .figma-crumb-sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  line-height: 0;
  opacity: 1 !important;
}

.figma-classes-crumb .figma-crumb-sep img,
.search-top-banner .figma-crumb-sep img,
.site-top-banner .figma-crumb-sep img {
  position: static !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  display: block;
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  object-fit: contain;
}

.rtl .figma-classes-crumb .figma-crumb-sep,
html[dir="rtl"] .figma-classes-crumb .figma-crumb-sep {
  transform: scaleX(-1);
}

.figma-classes-banner h1 {
  color: #fff !important;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  text-shadow: none;
  opacity: 1 !important;
}

.figma-classes-body {
  max-width: var(--figma-header-max, 1440px) !important;
  width: 100%;
  padding-left: var(--figma-header-pad-x, 64px) !important;
  padding-right: var(--figma-header-pad-x, 64px) !important;
  margin-left: auto;
  margin-right: auto;
  padding-top: 48px;
  padding-bottom: 80px;
}

.figma-classes-featured h2 {
  color: var(--figma-main, #00296b);
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 4px;
}

.figma-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.figma-list-count {
  font-size: 16px;
  color: #555;
}

.figma-list-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.figma-list-sort {
  height: 40px;
  padding: 0 36px 0 16px;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23555' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none;
  font-size: 14px;
  color: #000;
  cursor: pointer;
}

.rtl .figma-list-sort {
  padding: 0 16px 0 36px;
  background-position: left 14px center;
}

.figma-list-sort-pill {
  position: relative;
  min-width: 180px;
  z-index: 5;
}

.figma-list-sort-pill .figma-cf-pill-trigger {
  height: 40px;
  padding: 0 12px 0 16px;
  box-shadow: none;
  border: 1px solid #eaeaea;
  font-size: 14px;
}

.rtl .figma-list-sort-pill .figma-cf-pill-trigger {
  padding: 0 16px 0 12px;
}

.figma-list-sort-pill .figma-cf-pill-icon {
  width: 24px;
  height: 24px;
}

.figma-list-sort-pill .figma-cf-pill-menu {
  min-width: 100%;
  width: max-content;
}

.figma-list-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  background: #fff;
  color: #555;
  cursor: pointer;
}

.figma-list-view.is-active {
  background: var(--figma-main, #00296b);
  border-color: var(--figma-main, #00296b);
  color: #fff;
}

.figma-list-view .feather,
.figma-list-view svg {
  stroke: currentColor !important;
  stroke-width: 2.5;
}

.figma-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.figma-classes .figma-course-image:not(.is-logo) img,
.figma-classes .figma-course-image.is-logo {
  aspect-ratio: 480 / 294;
}

.figma-classes .figma-course-title {
  font-size: 17px;
  line-height: 26px;
  margin-bottom: 12px;
}

.figma-classes .figma-course-text {
  font-size: 15px;
  line-height: 23px;
  min-height: 69px;
}

.figma-classes .figma-course-meta {
  font-size: 15px;
}

.figma-classes .figma-course-foot {
  font-size: 17px;
}

.figma-list-pagination {
  margin-top: 48px;
}

.figma-filter-search {
  display: flex;
  align-items: center;
  height: 48px;
  margin-bottom: 16px;
  padding: 0 6px 0 16px;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 12px;
}

.rtl .figma-filter-search {
  padding: 0 16px 0 6px;
}

.figma-filter-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  margin-inline-end: 8px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  text-overflow: ellipsis;
}

.figma-filter-search button {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: var(--figma-main, #00296b);
  color: #fff;
}

.figma-filter-search button .feather,
.figma-filter-search button svg {
  stroke: currentColor !important;
  stroke-width: 2.5;
  width: 18px;
  height: 18px;
}

.figma-filter-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  background: #fff;
  color: var(--figma-main, #00296b);
  font-size: 15px;
  font-weight: 500;
}

.figma-filter-card {
  padding: 24px;
  background: #fff;
  border-radius: 12px;
}

.figma-filter-heading {
  display: none;
}

.figma-filter-group + .figma-filter-group {
  margin-top: 24px;
}

.figma-filter-group-toggle {
  display: block;
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: start;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #000;
  cursor: default;
}

.figma-filter-group-chevron {
  display: none;
}

.figma-filter-group-body {
  display: block;
}

.figma-filter-option {
  display: flex;
  align-items: flex-start;
  line-height: 22px;
  gap: 10px;
  margin: 0;
  padding: 7px 0;
  font-size: 15px;
  color: #555;
  cursor: pointer;
}

.figma-filter-option input {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin: 4px 0 0;
  accent-color: var(--figma-main, #00296b);
  cursor: pointer;
}

.figma-filter-option.is-checked,
.figma-filter-option:has(input:checked) {
  color: var(--figma-main, #00296b);
}

.figma-filter-option:hover {
  color: var(--figma-main, #00296b);
}

.figma-empty-courses {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 24px;
  background: #fff;
  border: 1px solid var(--figma-gray-1, #e7ecee);
  border-radius: 16px;
  text-align: center;
}

.figma-empty-courses-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: rgba(0, 41, 107, 0.08);
  color: var(--figma-main, #00296b);
}

.figma-empty-courses h3 {
  color: var(--figma-main, #00296b);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}

.figma-empty-courses p {
  max-width: 360px;
  color: var(--figma-text, #666c6f);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 24px;
}

.figma-empty-courses .btn {
  height: 48px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--figma-radius-pill, 100px) !important;
  background: var(--figma-main, #00296b) !important;
  border-color: var(--figma-main, #00296b) !important;
  box-shadow: none !important;
  font-weight: 500;
}


@media (max-width: 1199.98px) {
  .figma-list-grid {
    gap: 16px;
  }
}

@media (max-width: 991.98px) {
  .figma-classes-banner-inner,
  .figma-classes-body {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .figma-classes-banner {
    min-height: 99px;
    border-radius: 0 0 24px 24px;
  }

  .figma-classes-banner-inner {
    padding-top: 16px !important;
    padding-bottom: 20px !important;
  }

  .figma-classes-banner h1 {
    font-size: 26px;
    line-height: 1.2;
  }

  .figma-classes-crumb {
    max-width: 100%;
    margin-bottom: 8px;
    font-size: 14px;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 8px;
  }

  .figma-classes-crumb > span:not(.figma-crumb-sep) {
    min-width: 0;
    max-width: min(42vw, 160px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .figma-classes-body {
    padding-top: 24px;
  }

  .figma-list-side {
    order: -1;
    margin-bottom: 20px;
  }

  .figma-filter-toggle {
    display: none !important;
  }

  .figma-classes #figmaFilterCard.figma-filter-card,
  .figma-classes #figmaFilterCard.collapse {
    display: flex !important;
    flex-direction: column;
    gap: 16px;
    margin-top: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    height: auto !important;
  }

  .figma-filter-heading {
    display: block;
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 30px;
    color: #11141a;
  }

  .figma-filter-group {
    margin: 0 !important;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
  }

  .figma-filter-group-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 70px;
    margin: 0;
    padding: 0 20px;
    border: 0;
    background: #fff;
    font-size: 16px;
    font-weight: 500;
    color: #11141a;
    cursor: pointer;
  }

  .figma-filter-group-chevron {
    display: inline-flex;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--figma-main, #00296b);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
    transition: transform 0.15s ease;
  }

  .figma-filter-group.is-open .figma-filter-group-chevron {
    transform: rotate(180deg);
  }

  .figma-filter-group-body {
    display: none;
    padding: 0 20px 16px;
  }

  .figma-filter-group.is-open .figma-filter-group-body {
    display: block;
  }

  .figma-list-toolbar {
    margin-bottom: 16px;
  }

  .figma-list-view {
    display: none !important;
  }

  .figma-list-sort-pill {
    min-width: 0;
    flex: 1 1 auto;
  }

  .figma-list-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .figma-classes .figma-course-image:not(.is-logo) img,
  .figma-classes .figma-course-image.is-logo {
    aspect-ratio: 358 / 210;
  }

  .figma-classes .figma-course-body {
    padding: 16px 12px 20px;
  }

  .figma-classes .figma-course-by {
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 22px;
    color: #666c6f;
  }

  .figma-classes .figma-course-title {
    font-size: 17px;
    line-height: 26px;
    margin-bottom: 8px;
  }

  .figma-classes .figma-course-text {
    font-size: 14px;
    line-height: 22px;
    min-height: 0;
    margin-bottom: 12px;
  }

  .figma-classes .figma-course-meta {
    font-size: 14px;
    padding-bottom: 12px;
  }

  .figma-classes .figma-course-foot {
    font-size: 16px;
  }

  .figma-filter-card {
    margin-top: 12px;
  }
}

@media (max-width: 575.98px) {
  .figma-list-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .figma-list-count {
    font-size: 14px;
  }

}

.figma-search-page .figma-classes-banner h1 {
  font-size: 36px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.figma-search-banner-form {
  margin-top: 24px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.figma-search-banner-form form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 100px;
  padding: 8px 8px 8px 20px;
}

.figma-search-banner-form input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--figma-font, Roboto, "Noto Kufi Arabic", sans-serif);
  font-size: 16px;
  color: #11141a;
}

.figma-search-banner-form .btn-primary {
  min-height: 48px;
  padding: 0 28px;
  border-radius: 100px !important;
  background: var(--figma-main, #00296b) !important;
  border-color: var(--figma-main, #00296b) !important;
  font-weight: 600;
  white-space: nowrap;
}

.figma-search-section + .figma-search-section {
  margin-top: 48px;
}

.figma-search-section h2 {
  color: var(--figma-main, #00296b);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 24px;
}

.figma-search-people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}

.figma-search-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 20px;
  padding: 20px 16px;
  border: 1px solid #eaeaea;
}

.figma-search-person:hover {
  border-color: var(--figma-main, #00296b);
}

.figma-search-person-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  margin-bottom: 12px;
}

.figma-search-person-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figma-search-person strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--figma-main, #00296b);
}

.figma-search-person span,
.figma-search-person em {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-style: normal;
  color: #666c6f;
}

.figma-products-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  margin-bottom: 16px;
  border-radius: 100px !important;
}

.figma-products-cat-parent {
  display: block;
  margin: 12px 0 4px;
  font-size: 13px;
  font-weight: 700;
  color: #666c6f;
}

.figma-products-cat-link {
  text-decoration: none !important;
  color: inherit;
}

.figma-products-filter-btn {
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
  border-radius: 100px !important;
}

.figma-products .figma-list-grid.figma-store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.figma-products .figma-product-card {
  height: 100%;
  margin: 0;
}

@media (max-width: 991.98px) {
  .figma-search-page .figma-classes-banner h1 {
    font-size: 28px;
  }

  .figma-search-banner-form form {
    padding: 6px 6px 6px 14px;
  }

  .figma-search-banner-form input,
  .figma-search-banner-form .btn-primary {
    min-height: 44px;
    height: 44px;
  }

  .figma-search-section h2 {
    font-size: 22px;
  }

  .figma-products .figma-list-grid.figma-store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .figma-products .figma-list-grid.figma-store-grid {
    grid-template-columns: 1fr;
  }
}

.figma-product-show {
  background: var(--figma-bg-light, #f6f8f9);
  padding-bottom: 64px;
}

.figma-product-show .figma-classes-banner h1 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.figma-product-show .figma-classes-body {
  padding-top: 32px;
}

.figma-product-show .product-show-image-card {
  overflow: hidden;
  border: 1px solid #eaeaea;
  border-radius: 20px;
  background: #fff;
}

.figma-product-show .figma-product-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--figma-main, #00296b);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.figma-product-show .figma-product-gallery-prev {
  left: 12px;
}

.figma-product-show .figma-product-gallery-next {
  right: 12px;
}

.figma-product-show .figma-product-gallery-arrow:hover {
  background: var(--figma-main, #00296b);
  color: #fff;
}

.figma-product-show .figma-product-gallery-arrow .feather,
.figma-product-show .figma-product-gallery-arrow svg {
  stroke: currentColor;
  color: currentColor;
}

.figma-product-show .thumbnail-card.is-active {
  border-color: var(--figma-main, #00296b);
  box-shadow: 0 0 0 2px var(--figma-main, #00296b);
}

.figma-product-show .product-show-image-card .main-s-image {
  border-radius: 20px !important;
}

.figma-product-show .thumbnail-card {
  overflow: hidden;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  background: #fff;
}

.figma-product-show .thumbnail-card img {
  border-radius: 12px !important;
}

.figma-product-show .figma-product-info-card {
  border: 1px solid #eaeaea;
  border-radius: 20px;
  background: #fff !important;
  box-shadow: none;
}

.figma-product-show .figma-product-show-title {
  margin: 0;
  color: var(--figma-main, #00296b);
  font-family: var(--figma-font, Roboto, "Noto Kufi Arabic", sans-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}

.figma-product-show .product-show-info-card a {
  color: var(--figma-main, #00296b);
}

.figma-product-show .product-availability-badge {
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
}

.figma-product-show .product-availability-badge.badge-primary {
  background: var(--figma-main, #00296b) !important;
  color: #fff !important;
}

.figma-product-show .figma-product-bought-note {
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #eef4ff;
  color: var(--figma-main, #00296b);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.figma-product-show .figma-product-bought-note .feather,
.figma-product-show .figma-product-bought-note svg {
  flex-shrink: 0;
  stroke: var(--figma-main, #00296b) !important;
}

.figma-product-show .product-show-price-box .real {
  color: var(--figma-main, #00296b);
  font-size: 32px;
  font-weight: 700;
}

.figma-product-show .product-show-cart-actions .cart-quantity {
  border: 1px solid #eaeaea;
  border-radius: 100px;
  overflow: hidden;
  background: #fff;
}

.figma-product-show .product-show-cart-actions .cart-quantity button,
.figma-product-show .product-show-cart-actions .cart-quantity input {
  border: 0 !important;
  background: transparent !important;
  color: var(--figma-main, #00296b);
}

.figma-product-show .product-show-cart-actions .btn-primary {
  min-height: 54px;
  padding: 0 28px;
  border-radius: 100px !important;
  background: var(--figma-main, #00296b) !important;
  border-color: var(--figma-main, #00296b) !important;
}

.figma-product-show .product-show-cart-actions .btn-primary .feather,
.figma-product-show .product-show-cart-actions .btn-primary svg {
  stroke: #fff !important;
  color: #fff !important;
}

.figma-product-show .product-show-cart-actions .btn-outline-primary {
  min-height: 54px;
  padding: 0 28px;
  border-radius: 100px !important;
  border-width: 2px;
  color: var(--figma-main, #00296b) !important;
  border-color: var(--figma-main, #00296b) !important;
  background: #fff !important;
}

.figma-product-show .product-show-cart-actions .btn-outline-primary:hover {
  background: var(--figma-main, #00296b) !important;
  color: #fff !important;
}

.figma-product-show .product-show-info-footer-items .icon-box {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #eef4ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--figma-main, #00296b);
}

.figma-product-show .product-show-info-footer-items .icon-box .feather,
.figma-product-show .product-show-info-footer-items .icon-box svg {
  stroke: var(--figma-main, #00296b) !important;
}

.figma-product-show .product-show__nav-tabs {
  gap: 8px;
  margin: 0;
  padding: 8px !important;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  background: #fff;
}

.figma-product-show .product-show__nav-tabs .nav-item {
  margin: 0 !important;
}

.figma-product-show .product-show__nav-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 100px;
  color: #666c6f !important;
  font-weight: 500;
  text-decoration: none !important;
}

.figma-product-show .product-show__nav-tabs a.active {
  background: var(--figma-main, #00296b);
  color: #fff !important;
}

.figma-product-show .product-show__nav-tabs a.active::after {
  display: none !important;
}

.figma-product-show .tab-content {
  margin-top: 20px;
  padding: 24px;
  border: 1px solid #eaeaea;
  border-radius: 20px;
  background: #fff;
}

.figma-product-show .tab-content h2,
.figma-product-show .tab-content h3 {
  color: var(--figma-main, #00296b);
}

.figma-product-show .figma-product-show-ads-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.figma-product-show .figma-product-show-ads .figma-banner-card {
  width: 100%;
  min-height: 160px;
}

.figma-product-show .figma-product-seller-head {
  gap: 20px;
}

.figma-product-show .figma-product-seller .user-profile-avatar {
  width: 96px;
  min-width: 96px;
  max-width: 96px;
  height: 96px;
  border: 3px solid var(--figma-gold, #fdc500);
  border-radius: 50%;
  overflow: visible;
  flex-shrink: 0;
}

.figma-product-show .figma-product-seller .user-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figma-product-show .figma-product-seller-name {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--figma-main, #00296b);
}

.figma-product-show .figma-product-seller-headline {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  color: #666c6f;
}

.figma-product-show .figma-product-seller-stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 14px;
}

.figma-product-show .figma-product-seller-stats > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 16px;
  border-inline-start: 1px solid #eaeaea;
}

.figma-product-show .figma-product-seller-stats > div:first-child {
  padding-inline-start: 0;
  border-inline-start: 0;
}

.figma-product-show .figma-product-seller-stat-num {
  font-size: 18px;
  font-weight: 700;
  color: var(--figma-main, #00296b);
  line-height: 1.2;
}

.figma-product-show .figma-product-seller-stat-label {
  font-size: 13px;
  font-weight: 500;
  color: #666c6f;
}

.figma-product-show .figma-product-seller-actions {
  min-width: 140px;
  gap: 10px;
}

.figma-product-show .figma-product-seller-actions .btn {
  min-height: 44px;
  margin: 0 !important;
  padding: 0 20px;
  border-radius: 100px !important;
  box-shadow: none !important;
  font-weight: 600;
  font-size: 14px;
}

.figma-product-show .figma-product-seller-actions .btn-primary {
  background: var(--figma-main, #00296b) !important;
  border-color: var(--figma-main, #00296b) !important;
  color: #fff !important;
}

.figma-product-show .figma-product-seller-actions .btn-danger {
  background: #fff !important;
  border: 1.5px solid var(--figma-main, #00296b) !important;
  color: var(--figma-main, #00296b) !important;
  box-shadow: none !important;
}

.figma-product-show .figma-product-seller-actions .btn-outline-primary,
.figma-product-show .figma-product-seller-actions .btn-border-white {
  background: #fff !important;
  border: 1.5px solid var(--figma-main, #00296b) !important;
  color: var(--figma-main, #00296b) !important;
}

.figma-product-show .figma-product-seller-actions .btn-outline-primary:hover,
.figma-product-show .figma-product-seller-actions .btn-border-white:hover,
.figma-product-show .figma-product-seller-actions .btn-danger:hover {
  background: var(--figma-main, #00296b) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.figma-product-show .figma-product-seller-badges {
  gap: 10px;
}

.figma-product-show .figma-product-seller-badges > div {
  margin: 0 !important;
}

.figma-product-show .figma-product-seller-badges img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.figma-product-show .figma-product-seller-about-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--figma-main, #00296b);
}

.figma-product-show .figma-product-seller-about-body {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #666c6f;
}

.figma-product-show .figma-product-seller-about-body[dir="ltr"] {
  direction: ltr;
  text-align: left;
  unicode-bidi: isolate;
}

.figma-product-show .figma-product-specs {
  margin-top: 0;
}

.figma-product-show .figma-product-spec-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  background: #fff;
}

.figma-product-show .figma-product-spec-row {
  display: grid;
  grid-template-columns: minmax(120px, 32%) minmax(0, 1fr);
  gap: 8px 16px;
  align-items: baseline;
  margin: 0;
  padding: 14px 18px;
  border-bottom: 1px solid #eaeaea;
}

.figma-product-show .figma-product-spec-row:last-child {
  border-bottom: 0;
}

.figma-product-show .figma-product-spec-row:nth-child(even) {
  background: #f6f8f9;
}

.figma-product-show .figma-product-spec-name {
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--figma-main, #00296b);
  border: 0 !important;
  text-align: start;
}

.figma-product-show .figma-product-spec-value {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: #4a5560;
  border: 0 !important;
  word-break: break-word;
  text-align: start;
}

.figma-product-show .figma-product-spec-ltr {
  display: inline-block;
  max-width: 100%;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: start;
}

.figma-product-show .figma-product-file-row {
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  background: #fff;
}

.figma-product-show .figma-product-file-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.figma-product-show .figma-product-file-copy[dir="ltr"] {
  direction: ltr;
  text-align: left;
  unicode-bidi: isolate;
}

.figma-product-show .figma-product-file-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--figma-main, #00296b);
}

.figma-product-show .figma-product-file-desc {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: #666c6f;
}

.figma-product-show .figma-product-file-actions {
  gap: 10px;
  flex-shrink: 0;
}

.figma-product-show .figma-product-files .product-file-download-btn {
  width: 42px;
  min-width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  background: var(--figma-main, #00296b) !important;
  color: #fff !important;
}

.swal2-popup.figma-online-viewer-swal {
  width: min(1100px, 96vw) !important;
  max-width: 96vw !important;
  padding: 0 !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 24px !important;
  background: #0f0e14 !important;
}

.swal2-popup.figma-online-viewer-swal .swal2-content,
.swal2-popup.figma-online-viewer-swal .figma-online-viewer-swal-html {
  margin: 0 !important;
  padding: 0 !important;
}

.figma-online-viewer {
  display: flex;
  flex-direction: column;
  gap: 0;
  color: #fff;
}

.figma-online-viewer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--figma-main, #00296b);
}

.figma-online-viewer-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.figma-online-viewer-title::after {
  display: none !important;
}

.figma-online-viewer-close {
  min-height: 40px;
  padding: 0 20px;
  border: 0;
  border-radius: 100px;
  background: #fdc500;
  color: var(--figma-main, #00296b);
  font-size: 14px;
  font-weight: 700;
  line-height: 40px;
  cursor: pointer;
}

.figma-online-viewer-close:hover {
  background: #ffd84d;
  color: var(--figma-main, #00296b);
}

.figma-online-viewer-stage {
  height: min(72vh, calc(100vh - 11rem));
  margin: 0;
  overflow: hidden;
  background: #0f0e14;
}

.figma-online-viewer-stage iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0f0e14;
}

.figma-product-show .figma-product-files .product-file-download-btn:hover {
  background: #001d4d !important;
  color: #fff !important;
}

.figma-product-show .figma-product-files .product-file-download-btn .feather,
.figma-product-show .figma-product-files .product-file-download-btn svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
}

.figma-product-show .figma-product-reviews-summary {
  margin: 0;
  padding: 8px 4px 16px;
}

.figma-product-show .figma-product-reviews-summary .reviews-rate {
  color: var(--figma-main, #00296b) !important;
}

.figma-product-show .figma-product-reviews-summary .course-progress {
  height: 8px;
  border-radius: 100px !important;
  background: #eef4ff;
  overflow: hidden;
}

.figma-product-show .figma-product-reviews-summary .course-progress .progress-bar {
  border-radius: 100px !important;
  background: var(--figma-gold, #fdc500);
}

.figma-product-show .figma-product-reviews-heading {
  margin: 0;
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--figma-main, #00296b);
  border: 0;
}

.figma-product-show .figma-product-reviews-heading::after {
  display: none !important;
}

.figma-product-show .figma-product-reviews-form textarea.form-control {
  border: 1px solid #eaeaea;
  border-radius: 16px;
  padding: 16px 18px;
  min-height: 140px;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  resize: vertical;
  box-shadow: none;
}

.figma-product-show .figma-product-reviews-form textarea.form-control:focus {
  border-color: var(--figma-main, #00296b);
  box-shadow: none;
}

.figma-product-show .figma-product-reviews-form .btn-primary {
  min-width: 160px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 100px !important;
  background: var(--figma-main, #00296b) !important;
  border-color: var(--figma-main, #00296b) !important;
  font-weight: 600;
}

.figma-product-show .figma-product-review-card,
.figma-product-show .figma-product-review-reply {
  border: 1px solid #eaeaea !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  background: #fff !important;
}

.figma-product-show .figma-product-review-body {
  font-size: 15px !important;
  font-weight: 400;
  line-height: 1.7 !important;
  color: #4a5560 !important;
}

.figma-product-show .figma-product-review-body[dir="ltr"],
.figma-product-show .figma-product-review-reply [dir="ltr"] {
  direction: ltr;
  text-align: left;
  unicode-bidi: isolate;
}

@media (max-width: 991.98px) {
  .figma-product-show {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  .figma-product-show .figma-product-add-btn,
  .figma-product-show .figma-product-buy-btn {
    display: none !important;
  }

  .figma-product-sticky.figma-course-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid #eaeaea;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
  }

  .figma-product-sticky .figma-course-sticky-price {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--figma-main, #00296b);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
  }

  .figma-product-sticky .figma-course-sticky-price .figma-price-old {
    display: block;
    margin-top: 2px;
    color: #8e8e93;
    font-size: 13px;
    font-weight: 400;
    text-decoration: line-through;
  }

  .figma-product-sticky .figma-enroll-btn {
    flex: 0 0 auto;
    min-width: 148px;
    height: 48px;
    margin: 0;
    padding: 0 20px;
    border-radius: 100px !important;
  }
}

@media (max-width: 767.98px) {
  .figma-product-show .figma-classes-banner h1 {
    white-space: normal;
    font-size: 24px;
  }

  .figma-product-show .product-show__nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .figma-product-show .figma-product-seller-head {
    flex-direction: column;
    align-items: stretch !important;
  }

  .figma-product-show .figma-product-seller-meta {
    margin: 0 !important;
  }

  .figma-product-show .figma-product-seller-stats {
    justify-content: center;
  }

  .figma-product-show .figma-product-seller-actions {
    flex-direction: row !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    gap: 10px;
    margin-top: 16px;
  }

  .figma-product-show .figma-product-seller-actions .btn {
    flex: 1 1 0;
    width: auto !important;
    max-width: none;
    margin: 0 !important;
    box-shadow: none !important;
  }

  .figma-product-show .figma-product-seller-badges {
    justify-content: center;
    margin-top: 12px !important;
  }

  .figma-product-show .figma-product-spec-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 14px;
  }

  .figma-product-show .figma-product-file-row {
    flex-direction: column;
    align-items: flex-start !important;
  }
}
