body:has(.how-we-work-wrapper),
body.page-how-we-work-light {
  background-color: #faf8f5;
  color: #232127;
}

.how-we-work-wrapper {
  padding-top: var(--header-height-resting, 80px);
  min-height: 100vh;
  background: radial-gradient(circle at 85% 15%, rgba(107, 14, 24, 0.04) 0%, transparent 60%),
              radial-gradient(circle at 12% 50%, rgba(203, 168, 113, 0.08) 0%, transparent 55%),
              #faf8f5;
  color: #232127;
  position: relative;
  overflow: hidden;
}

.how-we-work-wrapper::before {
  content: '';
  position: absolute;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 500px;
  background: radial-gradient(circle, rgba(203, 168, 113, 0.12) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(100px);
  z-index: 0;
}

.how-hero {
  padding: 60px 0 38px;
  border-bottom: 1px solid rgba(203, 168, 113, 0.25);
  background: linear-gradient(180deg, rgba(203, 168, 113, 0.08) 0%, rgba(250, 248, 245, 0) 100%);
  position: relative;
  z-index: 1;
}

.how-hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #6c6575;
  margin-bottom: 18px;
}

.breadcrumb-nav a {
  color: #6c6575;
  text-decoration: none;
  transition: color 0.25s ease;
  font-weight: 500;
}

.breadcrumb-nav a:hover {
  color: #7b5924;
}

.breadcrumb-separator {
  color: #b89255;
  opacity: 0.7;
}

.breadcrumb-nav span:last-child {
  color: #1a0407;
  font-weight: 600;
}

.how-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  border-radius: 30px;
  background: rgba(203, 168, 113, 0.12);
  border: 1px solid rgba(203, 168, 113, 0.38);
  color: #7b5924;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(203, 168, 113, 0.08);
}

.how-hero-badge span.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #550a12;
  box-shadow: 0 0 10px rgba(85, 10, 18, 0.4);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.how-main-title {
  font-size: clamp(2.2rem, 4.8vw, 3.5rem);
  font-weight: 800;
  color: #1a0407;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.how-main-title span.highlight {
  background: linear-gradient(135deg, #550a12 0%, #871321 40%, #b68b48 85%, #9e7534 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.how-subtitle {
  font-size: clamp(1rem, 2vw, 1.22rem);
  color: #544e59;
  font-weight: 500;
  max-width: 900px;
  line-height: 1.7;
}

.how-statement-section {
  max-width: 1400px;
  margin: 40px auto 30px;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.how-statement-card {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #fdfbf7 100%);
  border: 1.5px solid rgba(203, 168, 113, 0.35);
  border-radius: 24px;
  padding: 44px 50px;
  box-shadow: 0 18px 50px rgba(85, 10, 18, 0.05), 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}

.how-statement-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #cba871 0%, #550a12 100%);
}

html[dir="rtl"] .how-statement-card::after {
  left: auto;
  right: 0;
}

.how-statement-card:hover {
  border-color: rgba(203, 168, 113, 0.65);
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(85, 10, 18, 0.09), 0 0 30px rgba(203, 168, 113, 0.18);
}

.how-statement-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.how-statement-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #550a12 0%, #7d121e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(85, 10, 18, 0.25);
  flex-shrink: 0;
}

.how-statement-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #7b5924;
  margin: 0;
  letter-spacing: 0.5px;
}

.how-statement-text {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.9;
  color: #1a0407;
  margin: 0;
  letter-spacing: 0.2px;
}

.how-steps-section {
  max-width: 1400px;
  margin: 55px auto 45px;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  color: #7b5924;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.section-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #1a0407;
  margin-bottom: 12px;
}

.section-lead {
  font-size: 1.05rem;
  color: #544e59;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.75;
}

.steps-timeline-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}

.step-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid rgba(203, 168, 113, 0.3);
  border-radius: 22px;
  padding: 34px 22px;
  box-shadow: 0 12px 35px rgba(85, 10, 18, 0.04), 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  transform: translateY(-8px);
  background: #ffffff;
  border-color: rgba(203, 168, 113, 0.65);
  box-shadow: 0 20px 50px rgba(85, 10, 18, 0.1), 0 0 25px rgba(203, 168, 113, 0.2);
}

.step-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #cba871, #7d121e, #cba871);
  transition: width 0.4s ease, left 0.4s ease;
  box-shadow: 0 0 10px rgba(203, 168, 113, 0.4);
}

.step-card:hover::before {
  width: 100%;
  left: 0;
}

.step-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.step-num-badge {
  font-size: 1.45rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: #7b5924;
  background: rgba(203, 168, 113, 0.12);
  border: 1px solid rgba(203, 168, 113, 0.35);
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.step-card:hover .step-num-badge {
  background: linear-gradient(135deg, #550a12 0%, #7d121e 100%);
  color: #ffffff;
  border-color: #cba871;
  box-shadow: 0 6px 18px rgba(85, 10, 18, 0.3);
}

.step-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(203, 168, 113, 0.15) 0%, rgba(107, 14, 24, 0.08) 100%);
  border: 1px solid rgba(203, 168, 113, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #550a12;
  transition: all 0.4s ease;
}

.step-card:hover .step-icon {
  background: linear-gradient(135deg, #550a12 0%, #7d121e 100%);
  color: #ffffff;
  border-color: #cba871;
  box-shadow: 0 8px 22px rgba(85, 10, 18, 0.3);
  transform: rotate(4deg) scale(1.05);
}

.step-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: #1a0407;
  margin-bottom: 12px;
  line-height: 1.4;
}

.step-desc {
  font-size: 0.94rem;
  line-height: 1.8;
  color: #544e59;
}

.how-showcase-section {
  max-width: 1400px;
  margin: 35px auto 65px;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.how-showcase-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1.5px solid rgba(203, 168, 113, 0.35);
  box-shadow: 0 20px 55px rgba(85, 10, 18, 0.08), 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: border-color 0.4s ease;
}

.how-showcase-card:hover {
  border-color: rgba(203, 168, 113, 0.65);
}

.how-showcase-img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.how-showcase-card:hover .how-showcase-img {
  transform: scale(1.025);
}

.how-showcase-overlay {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(203, 168, 113, 0.4);
  border-radius: 20px;
  padding: 24px 34px;
  max-width: 560px;
  box-shadow: 0 16px 45px rgba(85, 10, 18, 0.12);
}

html[dir="ltr"] .how-showcase-overlay {
  right: auto;
  left: 30px;
}

.how-showcase-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: #7b5924;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.how-showcase-overlay h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a0407;
  margin: 4px 0 8px;
}

.how-showcase-overlay p {
  font-size: 0.95rem;
  color: #38343e;
  line-height: 1.7;
  margin: 0;
}

.moq-section {
  max-width: 1400px;
  margin: 30px auto 60px;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.moq-table-card {
  background: #ffffff;
  border: 1.5px solid rgba(203, 168, 113, 0.35);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(85, 10, 18, 0.06), 0 2px 10px rgba(0, 0, 0, 0.02);
}

.moq-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
}

html[dir="ltr"] .moq-table {
  text-align: left;
}

.moq-table thead tr {
  background: linear-gradient(90deg, #550a12 0%, #7d121e 100%);
  border-bottom: 2px solid #cba871;
}

.moq-table th {
  padding: 20px 28px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.moq-table th.col-min {
  width: 58%;
}

.moq-table tbody tr {
  border-bottom: 1px solid rgba(203, 168, 113, 0.18);
  transition: background 0.25s ease;
}

.moq-table tbody tr:nth-child(even) {
  background: rgba(250, 248, 245, 0.6);
}

.moq-table tbody tr:hover {
  background: rgba(203, 168, 113, 0.1);
}

.moq-table tbody tr:last-child {
  border-bottom: none;
}

.moq-table td {
  padding: 20px 28px;
  font-size: 0.98rem;
  line-height: 1.7;
}

.moq-table td.col-product {
  font-weight: 700;
  color: #1a0407;
  display: flex;
  align-items: center;
  gap: 12px;
}

.moq-table td.col-product::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #550a12;
  box-shadow: 0 0 8px rgba(85, 10, 18, 0.35);
  flex-shrink: 0;
}

.moq-table td.col-min-val {
  color: #38343e;
  font-weight: 600;
}

.moq-notice-box {
  margin-top: 24px;
  background: #fbf8f3;
  border: 1.5px solid rgba(203, 168, 113, 0.35);
  border-radius: 18px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 8px 25px rgba(85, 10, 18, 0.03);
}

.moq-notice-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(85, 10, 18, 0.08);
  border: 1px solid rgba(203, 168, 113, 0.3);
  color: #550a12;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.moq-notice-text {
  font-size: 0.98rem;
  color: #38343e;
  margin: 0;
  line-height: 1.7;
  font-weight: 500;
}

.how-bottom-nav {
  max-width: 1400px;
  margin: 20px auto 70px;
  padding: 0 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.how-bottom-nav-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.btn-how-nav-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  background: #ffffff;
  color: #1a0407;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid rgba(203, 168, 113, 0.45);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.btn-how-nav-secondary:hover {
  background: #fbf8f3;
  border-color: #b89255;
  color: #550a12;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(203, 168, 113, 0.2);
}

.btn-how-nav-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  background: linear-gradient(135deg, #550a12 0%, #7d121e 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid #cba871;
  box-shadow: 0 8px 24px rgba(85, 10, 18, 0.25);
  transition: all 0.3s ease;
}

.btn-how-nav-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(85, 10, 18, 0.35);
  border-color: #dfbe87;
  color: #ffffff;
}

@media (max-width: 1200px) {
  .steps-timeline-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .how-statement-card {
    padding: 30px 22px;
    border-radius: 18px;
  }

  .steps-timeline-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .moq-table th, 
  .moq-table td {
    padding: 16px 18px;
  }

  .moq-table {
    font-size: 0.9rem;
  }

  .how-showcase-overlay {
    position: static;
    margin: 16px;
    max-width: 100%;
    border-radius: 14px;
    padding: 20px;
  }

  .how-showcase-card {
    display: flex;
    flex-direction: column;
  }

  .moq-notice-box {
    flex-direction: column;
    text-align: center;
    padding: 20px 18px;
  }
}
