/* --- Hero Section --- */
.htb-hero {
  position: relative;
  width: 100%;
  min-height: 28.125rem; /* min-h-[112.5] */
  padding: 3rem 0; /* py-12 */
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .htb-hero {
    height: 31.875rem; /* md:h-[127.5] */
    padding: 0;
  }
}

@media (min-width: 1024px) {
  .htb-hero {
    height: 40rem; /* lg:h-[160] */
  }
}

.htb-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.htb-hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(19, 24, 30, 0.7); /* bg-[#13181EB2] */
  z-index: 10;
}

.htb-hero-content-wrapper {
  position: relative;
  z-index: 20;
  padding: 0 1rem; /* px-4 */
  width: 100%;
  color: white;
}

@media (min-width: 768px) {
  .htb-hero-content-wrapper {
    padding: 0 1.5rem; /* md:px-6 */
  }
}

@media (min-width: 1024px) {
  .htb-hero-content-wrapper {
    padding: 0 3rem; /* lg:px-12 */
    width: 83.333333%; /* lg:w-5/6 */
  }
}

.htb-hero-title {
  font-family: var(--font-inter);
  font-size: 1.875rem; /* text-3xl */
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
  margin-top: 0;
  color: white;
}

@media (min-width: 768px) {
  .htb-hero-title {
    font-size: 2.25rem; /* md:text-4xl */
    margin-bottom: 1.5rem; /* md:mb-6 */
  }
}

@media (min-width: 1024px) {
  .htb-hero-title {
    font-size: 4.5rem; /* lg:text-7xl */
  }
}

.htb-hero-text {
  font-family: var(--font-montserrat);
  font-size: 0.875rem; /* text-sm */
  color: #d1d5db; /* text-gray-300 */
  line-height: 1.625; /* leading-relaxed */
  max-width: 48rem; /* max-w-3xl */
  font-weight: 400; /* text-normal */
}

@media (min-width: 768px) {
  .htb-hero-text {
    font-size: 1.125rem; /* md:text-lg */
  }
}

.htb-hero-text p {
  margin-top: 0;
  margin-bottom: 0;
}
.htb-hero-text p:last-child {
  margin-bottom: 0;
}

/* --- Sections Wrapper --- */
.htb-sections-wrapper {
  display: flex;
  flex-direction: column;
}

.section-heading {
  font-family: var(--font-inter);
  font-size: 2.25rem; /* text-4xl */
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-top: 0;
}
@media (min-width: 768px) {
  .section-heading {
    font-size: 3rem; /* md:text-5xl */
  }
}
@media (min-width: 1024px) {
  .section-heading {
    font-size: 3.75rem; /* lg:text-6xl */
  }
}

/* --- We Supply Section --- */
.supply-section {
  padding: 4rem 0.5rem 2rem;
}

@media (min-width: 768px) {
  .supply-section {
    padding: 6rem 0 2rem;
  }
}

.supply-heading {
  margin-bottom: 3rem; /* mb-12 */
}

.supply-grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 3rem; /* gap-x-12 */
  row-gap: 2.5rem; /* gap-y-10 */
}

@media (min-width: 768px) {
  .supply-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.supply-item {
  display: flex;
  gap: 1rem; /* gap-4 */
  border-bottom: 1px solid #e5e7eb; /* border-b border-gray-200 */
  padding-bottom: 2rem; /* pb-10 */
}

.supply-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .supply-item {
    gap: 1.25rem; /* gap-5 */
    border-bottom: 1px solid #e5e7eb;
  }
  .supply-item:nth-child(3),
  .supply-item:nth-child(4) {
    border-bottom: 0;
    padding-bottom: 0;
  }
}

.supply-icon-wrapper {
  width: 3rem; /* w-12 */
  height: 3rem; /* h-12 */
  border-radius: 9999px;
  background-color: white;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .supply-icon-wrapper {
    width: 3.5rem; /* md:w-14 */
    height: 3.5rem; /* md:h-14 */
  }
}

.supply-content {
  display: flex;
  flex-direction: column;
  padding-top: 0.25rem; /* pt-1 */
}

@media (min-width: 768px) {
  .supply-content {
    padding-top: 0.5rem; /* md:pt-2 */
  }
}

.supply-item-title {
  font-family: var(--font-montserrat);
  font-size: 1.125rem; /* text-lg */
  font-weight: 700;
  color: var(--text-title);
  margin-top: 0;
  margin-bottom: 0.5rem; /* mb-2 */
}

@media (min-width: 768px) {
  .supply-item-title {
    font-size: 1.25rem; /* md:text-xl */
  }
}

.supply-item-desc {
  font-family: var(--font-montserrat);
  font-size: 1rem; /* text-base */
  color: #4b5563; /* text-gray-600 */
  line-height: 1.625; /* leading-relaxed */
  margin: 0;
}

@media (min-width: 768px) {
  .supply-item-desc {
    font-size: 1.125rem; /* md:text-lg */
  }
}

.supply-footer-card {
  margin-top: 2rem; /* mt-8 */
  background-color: white;
  padding: 1.5rem; /* p-6 */
  border-radius: 0.125rem; /* rounded-sm */
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
  text-align: center;
}

@media (min-width: 768px) {
  .supply-footer-card {
    margin-top: 3rem; /* md:mt-12 */
    padding: 2rem; /* md:p-8 */
    text-align: left;
  }
}

.supply-footer-card p {
  font-family: var(--font-montserrat);
  font-size: 1rem; /* text-base */
  font-weight: 700;
  color: var(--text-title);
  margin: 0;
}

@media (min-width: 768px) {
  .supply-footer-card p {
    font-size: 1.125rem; /* md:text-lg */
  }
}

/* --- Dealer Registration Section --- */
.reg-section {
  padding: 2rem 0.5rem 2rem;
}

@media (min-width: 768px) {
  .reg-section {
    padding: 2rem 0 2rem;
  }
}

.reg-heading {
  margin-bottom: 3rem; /* mb-12 */
}

.reg-steps-container {
  display: flex;
  flex-direction: column;
  gap: 2rem; /* gap-8 */
}

@media (min-width: 768px) {
  .reg-steps-container {
    gap: 3rem; /* md:gap-12 */
  }
}

.reg-step-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px; /* reduced gap to match design specifications */
}

@media (min-width: 768px) {
  .reg-step-row {
    grid-template-columns: 2fr 3fr; /* md:grid-cols-5 */
    gap: 12px; /* reduced gap on desktop */
  }
}

.dark-row .reg-step-text-col {
  background-color: #252525;
  color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); /* shadow-sm */
  border-radius: 0.125rem; /* rounded-sm */
}

.light-row .reg-step-text-col {
  background-color: white;
  color: var(--text-title);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); /* shadow-sm */
  border: 1px solid #f3f4f6; /* border-gray-100 */
  border-radius: 0.125rem; /* rounded-sm */
}

.dark-row {
  color: white;
}

.light-row {
  color: var(--text-title);
}

.reg-step-text-col {
  padding: 2rem; /* p-8 */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .reg-step-text-col {
    padding: 3rem; /* md:p-12 */
  }
}

@media (min-width: 1024px) {
  .reg-step-text-col {
    padding: 4rem; /* lg:p-16 */
  }
}

.reg-step-title {
  font-family: var(--font-montserrat);
  font-size: 1.5rem; /* text-2xl */
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1.5rem; /* mb-6 */
}

@media (min-width: 768px) {
  .reg-step-title {
    font-size: 1.875rem; /* md:text-3xl */
  }
}

.reg-step-desc {
  font-family: var(--font-montserrat);
  font-size: 0.875rem; /* text-sm */
  line-height: 1.625;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .reg-step-desc {
    font-size: 1rem; /* md:text-base */
  }
}

.dark-row .reg-step-desc {
  color: #d1d5db; /* text-gray-300 */
}

.light-row .reg-step-desc {
  color: #6b7280; /* text-gray-500 */
}

.reg-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.reg-link:hover {
  text-decoration: underline;
}

.reg-step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* space-y-3 */
}

.reg-step-list.spacing-large {
  gap: 1rem; /* space-y-4 */
}

.reg-step-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem; /* gap-3 */
}

.bullet-dot {
  width: 0.375rem; /* w-1.5 */
  height: 0.375rem; /* h-1.5 */
  border-radius: 9999px;
  background-color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 0.5rem; /* center align dynamically */
}

.reg-step-list span:last-child {
  font-family: var(--font-montserrat);
  font-size: 0.875rem; /* text-sm */
}

@media (min-width: 768px) {
  .reg-step-list span:last-child {
    font-size: 1rem; /* md:text-base */
  }
}

.dark-row .reg-step-list span:last-child {
  color: #d1d5db;
}

.reg-step-image-col {
  position: relative;
  width: 100%;
  min-height: 18.75rem; /* min-h-75 */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); /* shadow-sm */
  border-radius: 0.125rem; /* rounded-sm */
  overflow: hidden;
}

@media (min-width: 768px) {
  .reg-step-image-col {
    min-height: 100%;
  }
}

.reg-step-email-col {
  background-color: white;
  padding: 1.5rem; /* p-6 */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); /* shadow-sm */
  border: 1px solid #f3f4f6; /* border-gray-100 */
  border-radius: 0.125rem; /* rounded-sm */
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .reg-step-email-col {
    padding: 2.5rem;
  }
}

/* --- Email Mockup Styles --- */
.email-mockup {
  width: 100%;
  background-color: var(--card-color);
  color: var(--text-title);
  padding: 1rem;
}

.email-mockup-header {
  font-family: var(--font-montserrat);
  font-size: 1.125rem; /* text-lg */
  color: #374151; /* text-gray-700 */
  margin-bottom: 1.5rem; /* mb-6 */
}

.email-sender-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem; /* mb-10 */
}

@media (min-width: 768px) {
  .email-sender-info {
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    gap: 0;
  }
}

.sender-avatar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem; /* gap-3 */
}

.sender-avatar {
  width: 3.125rem; /* w-12.5 */
  height: 3.125rem; /* h-12.5 */
  background-color: #a7a7a7;
  border-radius: 0.125rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
  flex-shrink: 0;
}

.avatar-head {
  width: 1rem; /* w-4 */
  height: 1rem;
  background-color: white;
  border-radius: 9999px;
  margin-bottom: 0.25rem;
}

.avatar-shoulders {
  width: 2rem; /* w-8 */
  height: 1rem;
  background-color: white;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.sender-name {
  font-family: var(--font-montserrat);
  font-size: 1rem; /* text-base */
  color: #374151; /* text-gray-700 */
}

.sender-date {
  font-size: 1rem;
  color: #6b7280; /* text-gray-500 */
  margin-top: 0.125rem;
}

.email-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem; /* gap-3 */
  font-size: 0.625rem; /* text-[10px] */
  color: #6b7280; /* text-gray-500 */
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .email-actions {
    font-size: 0.75rem; /* text-[12px] */
    gap: 1rem; /* gap-4 */
    margin-bottom: 0;
  }
}

.email-action-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.email-action-btn:hover {
  color: #111827; /* text-gray-800 */
}

.action-red-x {
  color: #ef4444; /* text-red-500 */
  font-weight: 700;
}

.action-icon {
  width: 0.75rem; /* size 12 */
  height: 0.75rem;
}

.email-actions .dots {
  color: #9ca3af;
}

.email-body-container {
  display: flex;
  flex-direction: column;
}

.email-to-label {
  font-size: 1.125rem; /* text-lg */
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}

.email-to-address {
  font-family: var(--font-montserrat);
  font-weight: 800;
  font-size: 1.5rem; /* text-2xl */
  color: #111827;
  margin-bottom: 1rem;
}

.email-subject-line {
  font-family: var(--font-montserrat);
  font-weight: 700;
  font-size: 1.125rem; /* text-lg */
  color: #111827;
  margin-bottom: 2rem;
}

.email-text-content {
  font-family: var(--font-montserrat);
  font-size: 1rem;
  color: #374151;
}

.confirm-email-btn {
  color: #0000ee;
  text-decoration: underline;
}

.confirm-email-btn:hover {
  text-decoration: underline;
}

/* --- How to Order Section --- */
.order-section {
  padding: 2rem 0.5rem;
}

@media (min-width: 768px) {
  .order-section {
    padding: 2rem 0;
  }
}

.order-heading {
  margin-bottom: 1rem;
}

.order-subtitle {
  font-family: var(--font-montserrat);
  font-size: 1rem;
  color: #6b7280;
  margin-top: 0;
  margin-bottom: 2.5rem; /* mb-10 */
}

@media (min-width: 768px) {
  .order-subtitle {
    font-size: 1.125rem;
  }
}

.order-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem; /* gap-6 */
}

@media (min-width: 768px) {
  .order-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem; /* md:gap-8 */
  }
}

.order-card {
  background-color: white;
  padding: 2rem; /* p-8 */
  border-radius: 0.125rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
  display: flex;
  flex-direction: column;
}

.order-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.order-card-icon {
  width: 1.875rem; /* ~30px */
  height: 1.875rem;
  flex-shrink: 0;
}

.order-card-title {
  font-family: var(--font-montserrat);
  font-size: 1.5rem; /* text-2xl */
  font-weight: 700;
  color: var(--text-title);
  margin: 0;
}

.order-card-desc {
  font-family: var(--font-montserrat);
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.625;
  margin: 0;
}

@media (min-width: 768px) {
  .order-card-desc {
    font-size: 1.125rem;
  }
}

/* --- Payment and Shipping Section --- */
.pay-ship-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem; /* gap-10 */
  align-items: center;
  padding: 10px; /* 10px padding on all sides */
  background-color: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03); /* shadow-[0_2px_15px...] */
  border: 1px solid #f9fafb; /* border-gray-50 */
  margin-top: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .pay-ship-section {
    padding: 10px; /* keep 10px padding to match design requirements */
  }
}

@media (min-width: 1024px) {
  .pay-ship-section {
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem; /* gap between text and image */
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}

.pay-ship-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
  order: 2; /* mobile: image bottom */
}

@media (min-width: 768px) {
  .pay-ship-image-container {
    order: 1; /* desktop: image left */
  }
}

.pay-ship-content {
  display: flex;
  flex-direction: column;
  padding: 1.5rem; /* p-6 mobile */
  order: 1; /* mobile: text top */
}

@media (min-width: 768px) {
  .pay-ship-content {
    order: 2; /* desktop: text right */
  }
}

@media (min-width: 1024px) {
  .pay-ship-content {
    padding: 2rem 2rem 2rem 0; /* right column: no padding-left needed on desktop */
  }
}

.pay-ship-heading {
  margin-bottom: 2rem; /* mb-8 */
}

.pay-ship-block {
  margin-bottom: 2rem; /* space between terms and delivery */
}

.pay-ship-block:last-child {
  margin-bottom: 0;
}

.pay-ship-subheading {
  font-family: var(--font-montserrat);
  font-size: 1rem; /* text-base */
  font-weight: 700;
  color: var(--text-title);
  margin-top: 0;
  margin-bottom: 1rem; /* mb-4 */
}

@media (min-width: 768px) {
  .pay-ship-subheading {
    font-size: 1.125rem; /* md:text-lg */
  }
}

.pay-ship-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* space-y-3 */
}

.pay-ship-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem; /* gap-3 */
}

.pay-ship-list span:last-child {
  font-family: var(--font-montserrat);
  font-size: 1rem;
  color: #6b7280; /* text-gray-500 */
  line-height: 1.625;
}

@media (min-width: 768px) {
  .pay-ship-list span:last-child {
    font-size: 1.125rem; /* md:text-lg */
  }
}

/* --- Become a Dealer Section --- */
.become-dealer-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem; /* gap-8 */
  align-items: center;
  padding: 2rem 0.5rem 4rem;
}

@media (min-width: 768px) {
  .become-dealer-section {
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem; /* md:gap-12 */
    padding: 2rem 0 6rem;
  }
}

.become-dealer-content {
  display: flex;
  flex-direction: column;
}

.become-dealer-content .section-heading {
  margin-bottom: 1rem;
}

.become-dealer-subtitle {
  font-family: var(--font-montserrat);
  font-size: 1rem; /* text-base */
  color: #6b7280; /* text-gray-500 */
  margin-top: 0;
  margin-bottom: 2rem; /* mb-8 */
}

@media (min-width: 768px) {
  .become-dealer-subtitle {
    font-size: 1.125rem; /* md:text-lg */
  }
}

.become-dealer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem; /* space-y-4 */
}

.become-dealer-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem; /* gap-3 */
}

.check-icon {
  color: var(--primary-color);
  flex-shrink: 0;
}

.become-dealer-item-text {
  font-family: var(--font-montserrat);
  font-size: 1rem;
  color: #4b5563; /* text-gray-600 */
}

@media (min-width: 768px) {
  .become-dealer-item-text {
    font-size: 1.125rem; /* md:text-lg */
  }
}

.become-dealer-logo-box {
  background-color: white;
  padding: 3rem; /* p-12 */
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
  border-radius: 0.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18.75rem; /* min-h-75 */
}

@media (min-width: 768px) {
  .become-dealer-logo-box {
    padding: 6rem; /* md:p-24 */
  }
}

.logo-box-inner {
  position: relative;
  width: 100%;
  max-width: 21.875rem; /* max-w-87.5 */
  aspect-ratio: 16 / 9;
}

.dealer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.object-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
