/* Ecommerce – Services für Geschäfte (Figma) */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;800&family=Inter:wght@400;600;800&display=swap');
/* Arabic typography defaults: headings Cairo, paragraphs Inter */
html[dir="rtl"] body ,
html[dir="rtl"] body * {
  font-family: "Cairo", sans-serif;
}
html[dir="rtl"] body  p {
  font-family: "Inter", sans-serif;
}
/* Ecom / Product cards 1 outside – like image/Figma */
.ecom-page-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0px;
  gap: 60px;
  width: 100%;
  max-width: unset;
  margin: 0 auto;
  background: #FFFFFF;
  box-sizing: border-box;
  overflow: visible;
  flex: none;
}

/* Frame 307 – Header (Services für Geschäfte + subtitle) */
.ecom-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  gap: 8px;
  width: 100%;
  max-width: unset;
  flex: none;
  align-self: stretch;
}

.ecom-title {
  font-family: 'Cairo', sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 48px;
  line-height: 56px;
  color: #000000;
  margin: 0;
  text-align: center;
  flex: none;
}

.ecom-subtitle {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  color: #000000;
  margin: 0;
  text-align: center;
  flex: none;
}

/* Frame 306 – Search row (dropdown + button) */
.ecom-search-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  gap: 16px;
  width: 100%;
  max-width: 1200px;
  height: 60px;
  position: relative;
  z-index: 100;
}

.ecom-search-row .ecom-dropdown-wrap {
  flex: none;
  width: 378px;
  min-width: 0;
  overflow: visible;
}

.ecom-search-row .ecom-category-select {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  height: 60px;
  background: #FFFFFF;
  border: 1px solid #000000;
  border-radius: 8px;
  font-family: 'Inter', 'NeoSansArabic', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #000000;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 24px;
  padding-right: 44px;
}

.ecom-search-row .ecom-category-select:hover,
.ecom-search-row .ecom-category-select:focus {
  border: 1px solid #000000;
  outline: none;
}

.ecom-search-btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 20.5px 20px;
  gap: 4px;
  width: 196px;
  height: 60px;
  background: #ACAE36;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', 'NeoSansArabic', sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 24px;
  color: #FFFFFF;
  cursor: pointer;
  flex-shrink: 0;
}

.ecom-search-btn:hover {
  background: #9a9c2e;
  color: #FFFFFF;
}

.ecom-search-btn svg {
  width: 24px;
  height: 24px;
}

/* Set – Service/Category cards grid */
.ecom-cards-set {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  padding: 0;
  gap: 32px;
  width: 100%;
  max-width: 1200px;
}

.ecom-card-outer {
  position: relative;
  width: 378px;
  flex: none;
}

/* Frame 321 etc – Card wrapper */
.ecom-card-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 8px;
  width: 378px;
  flex: none;
  text-decoration: none;
  color: inherit;
}

/* Blog / Component – Image block */
.ecom-card-image {
  width: 378px;
  height: 272px;
  background: #F1F1F1;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  flex: none;
}

.ecom-card-image img,
.ecom-card-image-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Blog card content – Service Name */
.ecom-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 8px;
  width: 100%;
}

.ecom-card-title {
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 32px;
  color: #000000;
  margin: 0;
}

/* Content / Basic right & Basic left – Category section (like image) */
.ecom-section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 60px 120px;
  gap: 64px;
  width: 100%;
  max-width: 1440px;
  background: #FFFFFF;
  box-sizing: border-box;
  flex: none;
}

.ecom-section-image-right .ecom-section-image { order: 1; }
.ecom-section-image-right .ecom-section-content { order: 0; }

.ecom-section-image-left .ecom-section-image { order: 0; }
.ecom-section-image-left .ecom-section-content { order: 1; }

.ecom-section-image {
  width: 570px;
  min-width: 280px;
  height: 570px;
  max-height: 570px;
  flex: none;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #F1F1F1;
}

.ecom-section-image-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ecom-section-image-placeholder {
  background: #F1F1F1;
}

/* Group – content column (title + list) */
.ecom-section-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 24px;
  flex: 1;
  min-width: 0;
  max-width: 566px;
  width: 566px;
}

.ecom-category-intro {
  width: 100%;
  max-width: 1440px;
  padding: 0 120px;
  box-sizing: border-box;
}

.ecom-category-intro-title {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -0.02em;
  color: #000000;
}

.ecom-service-num-block {
  display: inline-flex;
  width: auto;
  min-width: auto;
  height: auto;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.02em;
  color: #000000;
}

/* Content / Body text base – Headline H2 (Werbung, Social Media, etc.) */
.ecom-section-title {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -0.02em;
  color: #000000;
  margin: 0;
  align-self: stretch;
  width: 566px;
  height: 56px;
  flex: none;
}

/* Frame 341 – service list */
.ecom-service-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  width: 566px;
  align-self: stretch;
  flex: none;
}

/* Button / Tabs Narrow Element – one row per service */
.ecom-service-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0;
  width: 566px;
  min-height: 80px;
  cursor: pointer;
  align-self: stretch;
  flex: none;
}

.ecom-service-item--first,
.ecom-service-item--active {
  min-height: 216px;
  align-items: flex-start;
}

/* Line – vertical bar (Figma: rotated border) */
.ecom-service-line {
  flex: none;
  width: 1px;
  min-width: 1px;
  align-self: stretch;
  position: relative;
  background: transparent;
}

.ecom-service-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 80px;
  height: 0;
  border: none;
  border-top: 1px solid #D9D9D9;
  box-sizing: border-box;
  transform-origin: left top;
  transform: rotate(90deg);
}

.ecom-service-line--active {
  width: 4px;
  min-width: 4px;
}

.ecom-service-line--active::before {
  width: 216px;
  border-top: 4px solid #000000;
}

/* 01, 02, … – Headline H4 */
.ecom-service-num {
  flex: none;
  width: 80px;
  min-width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.02em;
  color: #000000;
  text-align: center;
  box-sizing: border-box;
}

.ecom-service-item--first .ecom-service-num,
.ecom-service-item--active .ecom-service-num {
  height: 80px;
  align-items: flex-start;
  padding-top: 28px;
  box-sizing: border-box;
}

/* Text – title + detail block */
.ecom-service-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 0;
  gap: 10px;
  flex: 1;
  min-width: 0;
  width: 486px;
  box-sizing: border-box;
}

.ecom-service-item--first .ecom-service-text,
.ecom-service-item--active .ecom-service-text {
  padding: 10px 0 30px;
  min-height: 216px;
}

.ecom-service-detail {
  display: block;
  width: 100%;
}

.ecom-service-detail--hidden {
  display: none;
}

/* Headline – service name (Bonuskarte, etc.) */
.ecom-service-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.02em;
  color: #000000;
  margin: 0;
  align-self: stretch;
  width: 100%;
}

/* Body/Small – description */
.ecom-service-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #000000;
  margin: 0;
  align-self: stretch;
  width: 486px;
  max-width: 100%;
  display: flex;
  align-items: center;
}

/* Frame 342 – buttons row */
.ecom-service-actions {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0;
  gap: 10px;
  flex-wrap: wrap;
  width: 438px;
  max-width: 100%;
  min-height: 48px;
}

/* Button / Single – Primary/Blue & Contact */
.ecom-btn {
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  height: 48px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  flex: none;
}

.ecom-btn-whatsapp {
  background: #1A6E83;
  color: #FFFFFF;
  border: none;
  min-width: 200px;
}

.ecom-btn-whatsapp:hover {
  background: #155a6b;
  color: #FFFFFF;
}

.ecom-btn-contact {
  background: #FFFFFF;
  color: #000000;
  border: 1px solid #D9D9D9;
  width: 157px;
  min-width: 157px;
}

.ecom-btn-contact:hover {
  background: #F5F5F5;
  color: #000000;
}

.ecom-btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
}

.ecom-btn-whatsapp .ecom-btn-icon {
  filter: brightness(0) invert(1);
}

/* Responsive */
@media (max-width: 1200px) {
  .ecom-page-wrap {
    padding: 40px 60px;
  }
  .ecom-card-wrap {
    width: calc((100% - 32px) / 2);
    min-width: 280px;
  }
  .ecom-card-image {
    width: 100%;
  }
}

@media (max-width: 1200px) {
  .ecom-section {
    flex-direction: column;
    padding: 40px 24px;
    gap: 40px;
  }
  .ecom-section-image-right .ecom-section-image,
  .ecom-section-image-right .ecom-section-content,
  .ecom-section-image-left .ecom-section-image,
  .ecom-section-image-left .ecom-section-content {
    order: unset;
  }
  .ecom-section-image {
    width: 100%;
    max-width: 570px;
    height: 400px;
    max-height: 400px;
  }
  .ecom-section-content {
    max-width: 100%;
    width: 100%;
  }
  .ecom-section-title {
    font-size: 36px;
    line-height: 44px;
    width: 100%;
    height: auto;
  }
  .ecom-service-list,
  .ecom-service-item {
    width: 100%;
    max-width: 100%;
  }
  .ecom-service-text {
    width: 100%;
    max-width: 100%;
  }
  .ecom-service-desc {
    width: 100%;
  }
  .ecom-service-actions {
    width: 100%;
  }
  .ecom-category-intro {
    padding: 0 24px;
  }
}

@media (max-width: 768px) {
  .ecom-page-wrap {
    padding: 24px 16px;
    gap: 32px;
    overflow-x: hidden;
  }
  .ecom-header {
    padding: 0 4px;
  }
  .ecom-title {
    font-size: 32px;
    line-height: 40px;
  }
  .ecom-subtitle {
    font-size: 16px;
    line-height: 24px;
  }
  .ecom-search-row {
    flex-direction: column;
    height: auto;
    gap: 12px;
  }
  .ecom-search-row .ecom-dropdown-wrap {
    width: 100%;
  }
  .ecom-search-row .ecom-category-select {
    margin-bottom: 15px;
    height: 52px;
  }
  .ecom-search-btn {
    width: 100%;
    height: 52px;
  }
  .ecom-card-wrap {
    width: 100%;
    min-width: 0;
  }
  .ecom-card-image {
    height: 240px;
  }
  /* Section: image on top, then title, then list (vertical stack) */
  .ecom-section {
    flex-direction: column;
    padding: 0 0 32px;
    gap: 24px;
    width: 100%;
    max-width: 100%;
  }
  .ecom-section-image {
    width: 100%;
    max-width: 100%;
    height: 220px;
    max-height: 280px;
    border-radius: 12px;
    overflow: hidden;
    order: 1;
  }
  .ecom-section-image-bg {
    border-radius: 12px;
  }
  .ecom-section-content {
    order: 2;
    width: 100%;
    max-width: 100%;
    padding: 0 4px;
    gap: 20px;
  }
  .ecom-section-title {
    font-size: 28px;
    line-height: 36px;
    width: 100%;
    height: auto;
    order: 1;
  }
  .ecom-service-list {
    width: 100%;
    max-width: 100%;
  }
  .ecom-service-item {
    width: 100%;
    max-width: 100%;
    min-height: 56px;
    padding: 0;
  }
  .ecom-service-item--active,
  .ecom-service-item.ecom-service-item--active {
    min-height: 0;
  }
  .ecom-service-line {
    align-self: stretch;
  }
  .ecom-service-line--active::before {
    width: 280px;
  }
  .ecom-service-num {
    width: 40px;
    min-width: 40px;
    height: 40px;
    font-size: 16px;
    padding-top: 0;
  }
  .ecom-service-item--first .ecom-service-num,
  .ecom-service-item--active .ecom-service-num {
    height: 40px;
    padding-top: 0;
    align-items: center;
  }
  .ecom-service-text {
    width: 100%;
    max-width: 100%;
    padding: 8px 0;
    min-width: 0;
  }
  .ecom-service-item--first .ecom-service-text,
  .ecom-service-item--active .ecom-service-text {
    min-height: 0;
    padding: 8px 0 20px;
  }
  .ecom-service-title {
    font-size: 18px;
    line-height: 26px;
  }
  .ecom-service-desc {
    font-size: 14px;
    line-height: 22px;
    width: 100%;
    max-width: 100%;
  }
  .ecom-service-actions {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 12px;
    min-height: 0;
  }
  .ecom-btn,
  .ecom-btn-whatsapp,
  .ecom-btn-contact {
    width: 100%;
    min-width: 0;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .ecom-page-wrap {
    padding: 20px 12px;
    gap: 28px;
  }
  .ecom-title {
    font-size: 28px;
    line-height: 36px;
  }
  .ecom-section-image {
    height: 200px;
  }
  .ecom-section-title {
    font-size: 24px;
    line-height: 32px;
  }
  .ecom-service-num {
    width: 36px;
    min-width: 36px;
    height: 36px;
    font-size: 14px;
  }
  .ecom-service-item--first .ecom-service-num,
  .ecom-service-item--active .ecom-service-num {
    width: 36px;
    min-width: 36px;
    height: 36px;
  }
  .ecom-service-title {
    font-size: 16px;
    line-height: 24px;
  }
  .ecom-service-line--active::before {
    width: 240px;
  }
}

/* ========== Logos strip (same as home) ========== */
.home-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 64px;
  gap: 60px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  background: #FFFFFF;
  box-sizing: border-box;
}

.home-logos-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  gap: 37px;
  width: 100%;
  max-width: 1200px;
  flex-wrap: wrap;
}

.home-logos-inner img {
  height: 30px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: brightness(0);
}

.home-logo-item {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #000000;
}

@media (max-width: 768px) {
  .home-logos {
    padding: 40px 24px;
  }
  .home-logos-inner {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .home-logos {
    padding: 32px 16px;
    gap: 24px;
  }
  .home-logos-inner {
    gap: 24px;
  }
  .home-logos-inner img {
    height: 24px;
  }
}
