/* ==========================================================================
   Component: Guide Highlights — Numbered Cards
   ========================================================================== */

.sg-guide-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--sp-4);
  overflow: hidden;
}

.sg-guide-highlights__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-5);
  padding: var(--sp-8);
  position: relative;
  transition: background var(--duration-300) var(--ease-smooth);
}

/* Vertical divider — only internal ones */
.sg-guide-highlights__item:not(:first-child)::after {
  content: "";
  position: absolute;
  top: var(--sp-6);
  bottom: var(--sp-6);
  right: 0;
  width: 1px;
  background: var(--color-border-light);
}

.sg-guide-highlights__item:hover {
  background: var(--color-bg-section);
}

/* ── Number ── */
.sg-guide-highlights__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50% 50% 50% 0;
  background: var(--color-bg-section);
  font-family: var(--font-body, "VM_Bold");
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-content-primary);
  position: relative;
  transition:
    background var(--duration-300) var(--ease-smooth),
    color var(--duration-300) var(--ease-smooth);
}

.sg-guide-highlights__number::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50% 50% 50% 0;
  border: 1px solid var(--color-content-primary);
  opacity: 0.2;
  transition: opacity var(--duration-300) var(--ease-smooth);
}

.sg-guide-highlights__item:hover .sg-guide-highlights__number {
  background: var(--color-content-primary);
  color: #ffffff;
}

.sg-guide-highlights__item:hover .sg-guide-highlights__number::after {
  opacity: 0;
}

/* ── Title ── */
.sg-guide-highlights__title {
  font-family: var(--font-h4, "VM_Bold");
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-content-primary);
  margin: 0;
  padding-top: var(--sp-2);
}

/* ── Text ── */
.sg-guide-highlights__text {
  color: var(--color-text-muted);
  margin: 0;
}

/* ── Responsive: Tablet ── */
@media (max-width: 1024px) {
  .sg-guide-highlights {
    grid-template-columns: repeat(2, 1fr);
  }

  .sg-guide-highlights__item:nth-child(3)::after {
    display: none;
  }

  .sg-guide-highlights__item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--color-border-light);
  }
}

/* ── Responsive: Mobile ── */
@media (max-width: 640px) {
  .sg-guide-highlights {
    grid-template-columns: 1fr;
  }

  .sg-guide-highlights__item {
    align-items: center;
    text-align: center;
    padding: var(--sp-6);
    gap: var(--sp-4);
    border-bottom: 1px solid var(--color-border-light);
  }

  .sg-guide-highlights__text {
    text-align: center;
  }

  .sg-guide-highlights__item:last-child {
    border-bottom: none;
  }

  .sg-guide-highlights__item::after {
    display: none;
  }

  .sg-guide-highlights__number {
    border-radius: 50%;
  }

  .sg-guide-highlights__number::after {
    border-radius: 50%;
  }
}

/* ==========================================================================
   Component: Min Order Cards
   ========================================================================== */

.sg-min-order-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}

.sg-min-order-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  padding: var(--sp-8);
  border-radius: var(--sp-4);
  position: relative;
  overflow: hidden;
  transition:
    transform var(--duration-300) var(--ease-smooth),
    box-shadow var(--duration-300) var(--ease-smooth);
}

.sg-min-order-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-lg);
}

/* ── Retail (green) ── */
.sg-min-order-card--retail {
  background: linear-gradient(135deg, #f8faf7 0%, #ffffff 100%);
  border: 1px solid var(--color-border-light);
}

.sg-min-order-card--retail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-content-primary);
}

/* ── Wholesale (gold) ── */
.sg-min-order-card--wholesale {
  background: linear-gradient(135deg, #fdfaf6 0%, #ffffff 100%);
  border: 1px solid var(--color-border-light);
}

.sg-min-order-card--wholesale::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-content-secondary);
}

/* ── Icon ── */
.sg-min-order-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--sp-3);
}

.sg-min-order-card--retail .sg-min-order-card__icon {
  background: var(--color-content-primary);
}

.sg-min-order-card--wholesale .sg-min-order-card__icon {
  background: var(--color-content-secondary);
}

.sg-min-order-card__icon i {
  font-size: 1.375rem;
}

.sg-min-order-card--retail .sg-min-order-card__icon i {
  color: #fff;
}

.sg-min-order-card--wholesale .sg-min-order-card__icon i {
  color: #fff;
}

/* ── Title ── */
.sg-min-order-card__title {
  font-family: var(--font-h4, "VM_Bold");
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-content-heading);
  margin: 0;
  padding-top: var(--sp-4);
}

/* ── Text ── */
.sg-min-order-card__text {
  font-family: var(--font-body, "VM_Regular");
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin: 0;
  flex: 1;
}

/* ── Phone ── */
.sg-min-order-card__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-body, "VM_Bold");
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  direction: ltr;
  transition: color var(--duration-250) var(--ease-smooth);
}

.sg-min-order-card--retail .sg-min-order-card__phone {
  color: var(--color-content-primary);
}

.sg-min-order-card--retail .sg-min-order-card__phone:hover {
  color: var(--color-content-heading);
}

.sg-min-order-card--wholesale .sg-min-order-card__phone {
  color: var(--color-content-secondary);
}

.sg-min-order-card--wholesale .sg-min-order-card__phone:hover {
  color: var(--color-secondary-dark);
}

.sg-min-order-card__phone i {
  font-size: 0.75em;
}

/* ── Actions ── */
.sg-min-order-card__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
}

.sg-min-order-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-body, "VM_SemiBold");
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-content-primary);
  text-decoration: none;
  transition:
    color var(--duration-250) var(--ease-smooth),
    gap var(--duration-250) var(--ease-smooth);
}

.sg-min-order-card__link:hover {
  color: var(--color-content-heading);
  gap: var(--sp-3);
  text-decoration: none;
}

.sg-min-order-card__link i {
  font-size: 0.75em;
  transition: transform var(--duration-250) var(--ease-smooth);
}

.sg-min-order-card__link:hover i {
  transform: translateX(-0.25rem);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .sg-min-order-cards {
    grid-template-columns: 1fr;
  }

  .sg-min-order-card {
    padding: var(--sp-6);
  }
}

/* ==========================================================================
   Component: Sample Card — Receiving a Sample
   ========================================================================== */

.sg-sample-card {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-6);
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--sp-4);
  padding: var(--sp-5);
  position: relative;
  overflow: hidden;
}

/* Left accent stripe */
.sg-sample-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-content-secondary);
}

/* ── Icon ── */
.sg-sample-card__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: var(--sp-3);
  background: var(--color-bg-section);
}

.sg-sample-card__icon i {
  font-size: 1.5rem;
  color: var(--color-content-secondary);
}

/* ── Content ── */
.sg-sample-card__content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  flex: 1;
}

.sg-sample-card__title {
  font-family: var(--font-h4, "VM_Bold");
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-content-heading);
  margin: 0;
}

.sg-sample-card__text {
  font-family: var(--font-body, "VM_Regular");
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin: 0;
}

.sg-sample-card__highlights {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  background: #fafbfa;
  border-radius: var(--sp-3);
  margin: 0;
}

.sg-sample-card__highlights li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-family: var(--font-body, "VM_Regular");
  line-height: 1.65;
  color: var(--color-content-text);
  list-style: none;
  padding: 0;
  margin: 0;
}

.sg-sample-card__highlights li::before {
  content: "";
  flex-shrink: 0;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: var(--rounded-full);
  background: var(--color-content-secondary);
  margin-top: 0.6em;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .sg-sample-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--sp-6);
  }

  .sg-sample-card__highlights {
    text-align: right;
  }
}

/* ==========================================================================
   Component: Delivery Cards — Clean Premium
   ========================================================================== */

.sg-delivery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}

/* ── Card ── */
.sg-delivery__card {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--sp-4);
  overflow: hidden;
  transition: box-shadow var(--duration-300) var(--ease-smooth);
}

.sg-delivery__card:hover {
  box-shadow: var(--shadow-md);
}

/* ── Header ── */
.sg-delivery__card-header {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 1px solid var(--color-border-light);
  background: #fbfbfb;
}

.sg-delivery__number {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--sp-2);
  font-family: var(--font-body, "VM_Bold");
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--color-content-primary);
}

.sg-delivery__title {
  font-family: var(--font-h4, "VM_Bold");
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-content-secondary);
  margin: 0;
  padding: 0;
}

.sg-delivery__range {
  margin-right: auto;
  font-family: var(--font-body, "VM_Medium");
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: #ffffff;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--rounded-full);
  border: 1px solid var(--color-border-light);
}

/* ── Body ── */
.sg-delivery__card-body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-6);
  flex: 1;
}

/* ── Highlight (key point) ── */
.sg-delivery__highlight {
  color: var(--color-content-heading);
  margin: 0;
  padding: var(--sp-4) var(--sp-5);
  background: var(--color-bg-section);
  border-bottom-left-radius: var(--sp-3);
  border-right: 4px solid var(--color-content-secondary);
}

/* ── List ── */
.sg-delivery__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.sg-delivery__list li {
  position: relative;
  padding-right: var(--sp-5);
  font-family: var(--font-body, "VM_Regular");
  font-size: 0.875rem;
  font-weight: 400;
  margin: 0;
  color: var(--color-text-muted);
}

.sg-delivery__list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.9em;
  width: 0.3125rem;
  height: 0.3125rem;
  border-radius: var(--rounded-full);
  background: var(--color-border-light);
}

.sg-delivery__list li strong {
  font-weight: 600;
  color: var(--color-content-heading);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .sg-delivery {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

  .sg-delivery__card-header {
    padding: var(--sp-4);
    gap: var(--sp-2);
  }

  .sg-delivery__card-body {
    padding: var(--sp-4);
  }
}

/* ==========================================================================
   Component: Payment Cards
   ========================================================================== */

.sg-payment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

.sg-payment__card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--sp-4);
  padding: var(--sp-7);
  position: relative;
  transition: box-shadow var(--duration-300) var(--ease-smooth);
}

.sg-payment__card:hover {
  box-shadow: var(--shadow-md);
}

/* ── Icon ── */
.sg-payment__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--sp-2);
}

.sg-payment__card:first-child .sg-payment__icon {
  background: rgba(68, 102, 64, 0.07);
  color: var(--color-content-primary);
}

.sg-payment__card:last-child .sg-payment__icon {
  background: rgba(164, 99, 36, 0.07);
  color: var(--color-content-secondary);
}

.sg-payment__icon i {
  font-size: 1.25rem;
}

/* ── Title ── */
.sg-payment__title {
  font-family: var(--font-h4, "VM_Bold");
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-content-heading);
  margin: 0;
}

.sg-payment__desc {
  font-family: var(--font-body, "VM_Medium");
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin: 0;
  margin-top: calc(-1 * var(--sp-3));
}

/* ── List ── */
.sg-payment__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  flex: 1;
}

.sg-payment__list li {
  position: relative;
  padding-right: var(--sp-5);
  font-family: var(--font-body, "VM_Regular");
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.sg-payment__list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.55em;
  width: 0.3125rem;
  height: 0.3125rem;
  border-radius: var(--rounded-full);
}

.sg-payment__card:first-child .sg-payment__list li::before {
  background: var(--color-content-primary);
}

.sg-payment__card:last-child .sg-payment__list li::before {
  background: var(--color-content-secondary);
}

.sg-payment__list li strong {
  font-weight: 600;
  color: var(--color-content-heading);
}

/* ── Badge ── */
.sg-payment__badge {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  font-family: var(--font-body, "VM_SemiBold");
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--rounded-full);
}

.sg-payment__card:first-child .sg-payment__badge {
  background: rgba(45, 106, 79, 0.1);
  color: var(--color-success);
}

.sg-payment__card:last-child .sg-payment__badge {
  background: rgba(164, 99, 36, 0.1);
  color: var(--color-content-secondary);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .sg-payment {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Component: Articles Grid
   ========================================================================== */

.sg-articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}

.sg-articles-grid__item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--sp-4);
  padding: var(--sp-6);
  transition:
    transform var(--duration-300) var(--ease-smooth),
    box-shadow var(--duration-300) var(--ease-smooth),
    border-color var(--duration-300) var(--ease-smooth);
}

.sg-articles-grid__item:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* ── Icon ── */
.sg-articles-grid__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--sp-2);
  background: var(--color-bg-section);
  transition: background var(--duration-300) var(--ease-smooth);
}

.sg-articles-grid__icon i {
  font-size: 1.125rem;
  color: var(--color-content-primary);
  transition: color var(--duration-300) var(--ease-smooth);
}

.sg-articles-grid__item:hover .sg-articles-grid__icon {
  background: var(--color-content-primary);
}

.sg-articles-grid__item:hover .sg-articles-grid__icon i {
  color: #ffffff;
}

/* ── Title ── */
.sg-articles-grid__title {
  margin: 0;
  line-height: 1.5;
  padding-top: var(--sp-2);
}

.sg-articles-grid__title a {
  font-family: var(--font-body, "VM_SemiBold");
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-content-heading);
  text-decoration: none;
  transition: color var(--duration-200) var(--ease-smooth);
}

.sg-articles-grid__title a:hover {
  color: var(--color-content-primary);
}

/* ── Text ── */
.sg-articles-grid__text {
  font-family: var(--font-body, "VM_Regular");
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
  flex: 1;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .sg-articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .sg-articles-grid {
    grid-template-columns: 1fr;
  }
}
