/* How To Order Page Styles */

/* Breadcrumb */
.hto-breadcrumb {
  background: var(--hsr-bg);
  border-bottom: 1px solid var(--hsr-line);
  padding: 10px 0;
}

.hto-breadcrumb .hsr-container {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}

.hto-breadcrumb a {
  color: var(--hsr-blue);
  text-decoration: none;
}

.hto-breadcrumb span {
  color: var(--hsr-text);
}

/* Hero */
.hto-hero {
  padding: 56px 24px;
  background: var(--hsr-white);
}

.hto-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hto-hero__content h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.25;
  color: var(--hsr-navy);
  margin-bottom: 20px;
}

.hto-hero__content > p {
  color: var(--hsr-text);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 480px;
}

.hto-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hto-hero__visual {
  border-radius: 24px 24px 0 0;
  background: linear-gradient(160deg, var(--hsr-light) 0%, #c8deff 100%);
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hto-hero__boxes {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.hto-hero__box {
  border-radius: 4px;
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.12);
  position: relative;
}

.hto-hero__box::before,
.hto-hero__box::after {
  content: "";
  position: absolute;
  background: rgba(0, 0, 0, 0.15);
}

.hto-hero__box::before {
  top: 45%;
  left: 0;
  right: 0;
  height: 2px;
}

.hto-hero__box::after {
  left: 45%;
  top: 0;
  bottom: 0;
  width: 2px;
}

.hto-hero__box--1 { width: 70px; height: 80px; background: #c8a96e; }
.hto-hero__box--2 { width: 90px; height: 110px; background: #d4b580; }
.hto-hero__box--3 { width: 60px; height: 65px; background: #b89558; }
.hto-hero__box--4 { width: 80px; height: 95px; background: #c8a96e; }

.hto-hero__plane {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 48px;
  opacity: 0.7;
  transform: rotate(-15deg);
}

.hto-hero__badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--hsr-blue);
  color: var(--hsr-white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* Table of Contents */
.hto-toc {
  background: var(--hsr-light);
  border-bottom: 1px solid var(--hsr-line);
  padding: 40px 24px;
}

.hto-toc__title {
  font-size: 12px;
  font-weight: 600;
  color: var(--hsr-text);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hto-toc__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.hto-toc__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: 14px;
  background: var(--hsr-white);
  border: 1.5px solid var(--hsr-line);
  text-decoration: none;
  color: var(--hsr-navy);
  transition: all 0.2s;
}

.hto-toc__item:hover {
  border-color: var(--hsr-blue);
  box-shadow: 0 4px 16px rgba(37, 99, 200, 0.10);
  transform: translateY(-2px);
}

.hto-toc__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hto-toc__num {
  background: var(--hsr-navy);
  color: var(--hsr-white);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 6px;
}

.hto-toc__icon {
  flex-shrink: 0;
}

img.hto-toc__icon {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
}

svg.hto-toc__icon--stroke {
  width: 34px;
  height: 34px;
  display: block;
  flex-shrink: 0;
  color: #1a2c5b;
}

span.hto-toc__icon {
  font-size: 22px;
  line-height: 1;
}

.hto-toc__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--hsr-navy);
  line-height: 1.4;
}

.hto-toc__link {
  font-size: 12px;
  color: var(--hsr-blue);
  font-weight: 500;
}

/* Sections */
.hto-section {
  padding: 72px 24px;
  background: var(--hsr-white);
}

.hto-section--alt {
  background: var(--hsr-bg);
}

.hto-section__header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
}

.hto-section__num {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  flex-shrink: 0;
  background: var(--hsr-navy);
  color: var(--hsr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 22px;
}

.hto-section__info h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--hsr-navy);
  margin-bottom: 6px;
  margin-top: 0;
}

.hto-section__info p {
  color: var(--hsr-text);
  font-size: 14px;
  line-height: 1.65;
  max-width: 640px;
}

/* Step Card */
.hto-card {
  background: var(--hsr-bg);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--hsr-line);
  box-shadow: 0 4px 20px rgba(37, 99, 200, 0.07);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 300px;
}

.hto-section--alt .hto-card {
  background: var(--hsr-white);
}

.hto-card__content {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
}

.hto-card__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--hsr-blue);
  color: var(--hsr-white);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 20px;
}

.hto-card__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--hsr-navy);
  margin-bottom: 14px;
  line-height: 1.4;
}

.hto-card__desc {
  color: var(--hsr-text);
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.hto-card__tip {
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--hsr-light);
  border: 1px solid rgba(91, 163, 217, 0.27);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: auto;
}

.hto-card__tip span:first-child {
  font-size: 16px;
}

.hto-card__tip span:last-child {
  font-size: 13px;
  color: var(--hsr-navy);
  line-height: 1.6;
}

.hto-card__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.hto-card__dots {
  display: flex;
  gap: 8px;
}

.hto-card__dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  border: none;
  background: var(--hsr-line);
  padding: 0;
  cursor: pointer;
  transition: all 0.25s;
}

.hto-card__dot--active {
  width: 24px;
  background: var(--hsr-blue);
}

.hto-card__arrows {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.hto-card__arrow {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1.5px solid var(--hsr-line);
  background: var(--hsr-white);
  color: var(--hsr-navy);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.hto-card__arrow:hover:not(:disabled) {
  border-color: var(--hsr-blue);
  color: var(--hsr-blue);
}

.hto-card__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Card Visual */
.hto-card__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}

.hto-card__visual--blue {
  background: linear-gradient(135deg, var(--hsr-light) 0%, #d0e4ff 100%);
}

.hto-card__visual--yellow {
  background: linear-gradient(135deg, #fffbeb 0%, #fef9c3 100%);
}

.hto-card__visual--green {
  background: linear-gradient(135deg, #f0fff4 0%, #bbf7d0 100%);
}

/* Browser Mock */
.hto-card__browser {
  width: 100%;
  max-width: 340px;
  background: var(--hsr-white);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(37, 99, 200, 0.15);
  overflow: hidden;
  border: 1px solid var(--hsr-line);
}

.hto-card__browser-chrome {
  background: var(--hsr-navy);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hto-card__browser-dots {
  display: flex;
  gap: 5px;
}

.hto-card__browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hto-card__browser-url {
  flex: 1;
  height: 20px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  padding-left: 8px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
}

.hto-card__browser-content {
  padding: 16px;
}

/* Screen Styles */
.hto-screen__title {
  font-size: 11px;
  font-weight: 700;
  color: var(--hsr-navy);
  margin-bottom: 8px;
  font-family: "Montserrat", sans-serif;
}

.hto-screen__label {
  font-size: 9px;
  color: var(--hsr-text);
  margin-bottom: 3px;
}

.hto-screen__field {
  height: 22px;
  border-radius: 4px;
  border: 1px solid var(--hsr-line);
  margin-bottom: 6px;
  background: #fff;
  padding-left: 8px;
  display: flex;
  align-items: center;
  font-size: 9px;
  color: var(--hsr-navy);
}

.hto-screen__field--active {
  border-color: var(--hsr-blue);
  border-width: 1.5px;
  background: var(--hsr-light);
  font-weight: 600;
}

.hto-screen__button {
  height: 24px;
  border-radius: 4px;
  background: var(--hsr-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  font-size: 10px;
  color: #fff;
  font-weight: 600;
}

/* Amazon Screen */
.hto-screen__amazon-header {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 8px;
}

.hto-screen__amazon-logo {
  font-size: 14px;
  font-weight: 800;
  color: #FF9900;
  font-family: "Montserrat", sans-serif;
}

.hto-screen__amazon-search {
  flex: 1;
  height: 18px;
  border-radius: 3px;
  border: 1px solid var(--hsr-line);
  padding-left: 6px;
  display: flex;
  align-items: center;
  font-size: 9px;
  color: #aaa;
}

.hto-screen__amazon-product {
  display: flex;
  gap: 8px;
}

.hto-screen__amazon-img {
  width: 80px;
  height: 80px;
  background: var(--hsr-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.hto-screen__amazon-info {
  flex: 1;
}

.hto-screen__amazon-title {
  font-size: 10px;
  color: var(--hsr-navy);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
}

.hto-screen__amazon-price {
  font-size: 13px;
  font-weight: 700;
  color: #B12704;
}

.hto-screen__amazon-delivery {
  font-size: 9px;
  color: #007185;
  margin-top: 2px;
}

.hto-screen__amazon-btn {
  margin-top: 8px;
  height: 22px;
  border-radius: 4px;
  background: #FFD814;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: #111;
}

/* Delivery Screen */
.hto-screen__status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 10px;
  color: var(--hsr-text);
}

.hto-screen__status--done {
  color: var(--hsr-navy);
}

.hto-screen__status--active {
  color: var(--hsr-blue);
  font-weight: 600;
}

.hto-screen__status-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.hto-screen__status--done .hto-screen__status-icon {
  background: #22c55e;
  color: #fff;
}

.hto-screen__status--active .hto-screen__status-icon {
  background: var(--hsr-blue);
  color: #fff;
}

.hto-screen__status:not(.hto-screen__status--done):not(.hto-screen__status--active) .hto-screen__status-icon {
  background: var(--hsr-line);
  color: var(--hsr-text);
}

.hto-screen__notice {
  margin-top: 6px;
  padding: 6px 8px;
  border-radius: 6px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  font-size: 9px;
  color: #c2410c;
}

/* Tips Section */
.hto-tips {
  padding: 56px 24px;
  background: var(--hsr-navy);
}

.hto-tips h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--hsr-white);
  margin-bottom: 32px;
  text-align: center;
}

.hto-tips__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hto-tips__item {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hto-tips__icon {
  margin-bottom: 16px;
  line-height: 0;
  color: rgba(255, 255, 255, 0.95);
}

.hto-tips__icon img {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
}

.hto-tips__icon-stroke {
  width: 44px;
  height: 44px;
  display: block;
}

.hto-tips__item h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--hsr-white);
  margin-bottom: 8px;
}

.hto-tips__item p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}

/* CTA Section */
.hto-cta {
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--hsr-light) 0%, #c8deff 100%);
  position: relative;
  overflow: hidden;
}

.hto-cta__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.hto-cta__content h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 3vw, 38px);
  color: var(--hsr-navy);
  margin-bottom: 14px;
  line-height: 1.25;
}

.hto-cta__content h2 span {
  color: var(--hsr-blue);
}

.hto-cta__content > p {
  color: var(--hsr-text);
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.65;
  max-width: 480px;
}

.hto-cta__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hto-cta__emoji {
  font-size: 96px;
  opacity: 0.85;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .hto-toc__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hto-tips__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .hto-hero__grid,
  .hto-card,
  .hto-cta__grid {
    grid-template-columns: 1fr;
  }

  .hto-hero__visual {
    order: -1;
    height: 240px;
    border-radius: 16px;
  }

  .hto-card__visual {
    min-height: 280px;
  }

  .hto-cta__emoji {
    display: none;
  }
}

@media (max-width: 580px) {
  .hto-toc__grid {
    grid-template-columns: 1fr;
  }

  .hto-tips__grid {
    grid-template-columns: 1fr;
  }

  .hto-section__header {
    flex-direction: column;
    gap: 16px;
  }

  .hto-card__content {
    padding: 24px 20px;
  }

  .hto-card__visual {
    padding: 24px 16px;
  }
}
