:root {
  --arsm-red: #e31b24;
  --arsm-red-dark: #c41920;
  --arsm-red-light: #fef2f2;
  --arsm-black: #1a1a1a;
  --arsm-white: #ffffff;
  --arsm-text: #333333;
  --arsm-text-muted: #666666;
  --arsm-page-bg: #f0f0f0;
  --arsm-section-bg: #f0f0f0;
  --arsm-card-bg: #ffffff;
  --arsm-border: #e0e0e0;
  --arsm-header-bg: #ffffff;
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--arsm-text);
  background-color: var(--arsm-page-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  background-color: var(--arsm-header-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.top-bar {
  background-color: var(--arsm-header-bg);
  border-bottom: 1px solid var(--arsm-border);
  padding: 0.5rem 0;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.brand-link:hover {
  text-decoration: none;
  opacity: 0.92;
}

.logo-wrap {
  display: inline-block;
  line-height: 0;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.nav-logo {
  height: 72px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
}

.brand-name {
  font-size: clamp(1.15rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--arsm-black);
  letter-spacing: 0.03em;
  line-height: 1.25;
  border-left: 3px solid var(--arsm-red);
  padding-left: 1rem;
}

.auth-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.auth-link {
  color: var(--arsm-text);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.auth-link:hover {
  color: var(--arsm-red);
  text-decoration: none;
}

.auth-divider {
  color: #ccc;
  font-weight: 300;
}

.main-navbar {
  background-color: var(--arsm-red);
  padding: 0;
}

.main-navbar .navbar-toggler {
  border-color: var(--arsm-white);
  margin: 0.5rem 0;
}

.main-navbar .navbar-toggler-icon {
  filter: invert(1);
}

.main-nav-list {
  width: 100%;
  justify-content: flex-start;
  gap: 0.15rem;
}

.main-navbar .nav-link {
  color: var(--arsm-white) !important;
  font-weight: 600;
  padding: 0.8rem 1.15rem !important;
  border-radius: 0;
  text-align: center;
  transition: background-color 0.2s;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link:focus {
  background-color: var(--arsm-red-dark);
  color: var(--arsm-white) !important;
}

.main-navbar .nav-link.active {
  background-color: var(--arsm-black);
  color: var(--arsm-white) !important;
}

@media (max-width: 991px) {
  .main-nav-list {
    padding-bottom: 0.5rem;
  }

  .main-navbar .nav-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
}

@media (max-width: 576px) {
  .nav-logo {
    height: 56px;
    max-width: 200px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-link {
    gap: 0.65rem;
  }

  .auth-links {
    width: 100%;
    justify-content: flex-end;
  }
}

/* Image slider with auto-crop */
.hero-slider-section {
  width: 100%;
  background-color: var(--arsm-black);
}

.hero-slider {
  width: 100%;
}

.hero-slider .carousel-inner {
  border-bottom: 3px solid var(--arsm-black);
}

.hero-slider .carousel-item {
  position: relative;
}

.slider-crop-frame {
  width: 100%;
  height: clamp(220px, 42vw, 480px);
  overflow: hidden;
  background-color: var(--arsm-black);
}

.slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.slider-caption {
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1.5rem 1.75rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  text-align: left;
}

.slider-caption h2 {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--arsm-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.slider-caption p {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  margin-bottom: 0;
  color: #f0f0f0;
}

.hero-slider .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid var(--arsm-white);
}

.hero-slider .carousel-indicators .active {
  background-color: var(--arsm-red);
  border-color: var(--arsm-red);
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: 8%;
  opacity: 0.85;
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
  opacity: 1;
}

.site-main {
  flex: 1;
  background-color: var(--arsm-section-bg);
}

.site-footer {
  background-color: var(--arsm-black);
  color: #bbb;
  padding: 1.25rem 0;
  margin-top: auto;
}

.hero-banner {
  background-color: var(--arsm-card-bg);
  border: 1px solid var(--arsm-border);
  border-left: 4px solid var(--arsm-red);
  border-radius: 0.5rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.hero-logo {
  max-height: 220px;
  width: auto;
  max-width: min(100%, 320px);
  height: auto;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
}

.hero-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--arsm-black);
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.page-header h1 {
  font-weight: 700;
  color: var(--arsm-black);
}

.about-preview-section {
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

.about-preview-card {
  background-color: var(--arsm-card-bg);
  border: 1px solid var(--arsm-border);
  border-left: 4px solid var(--arsm-red);
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.about-preview-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--arsm-text-muted);
  margin-bottom: 1.25rem;
}

.top-courses-section {
  margin-bottom: 2.5rem;
}

.top-courses-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.courses-page-indicator {
  font-weight: 600;
  color: var(--arsm-text);
  background-color: var(--arsm-red-light);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(227, 27, 36, 0.2);
}

.courses-slider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.courses-pages-wrapper {
  flex: 1;
  min-width: 0;
}

.courses-page {
  display: none;
}

.courses-page.active,
.safety-page.active {
  display: block;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.courses-nav-btn {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--arsm-red) 0%, #b9151c 100%);
  color: var(--arsm-white);
  box-shadow: 0 4px 16px rgba(227, 27, 36, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.courses-nav-btn .slider-nav-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.courses-nav-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(227, 27, 36, 0.45);
  color: var(--arsm-white);
}

.courses-nav-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(227, 27, 36, 0.3);
}

.courses-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

.course-card {
  background-color: var(--arsm-white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-card-image-only {
  border: none;
  background: transparent;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.course-image-frame {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: var(--arsm-black);
  border-radius: 0.5rem;
}

.course-card-image-only .course-image-frame {
  height: 220px;
}

.course-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.course-image--auto-crop {
  min-width: 100%;
  min-height: 100%;
}

.course-image-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 0.75rem 0.75rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  pointer-events: none;
}

.course-image-title {
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  font-weight: 700;
  color: var(--arsm-white);
  margin: 0;
  line-height: 1.3;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--arsm-red);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.course-duration {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--arsm-black);
  margin-bottom: 0.5rem;
}

.course-description {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #444;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1199px) {
  .courses-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .course-card-image-only .course-image-frame {
    height: 200px;
  }
}

@media (max-width: 767px) {
  .courses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .courses-slider {
    gap: 0.5rem;
  }

  .courses-nav-btn {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }

  .courses-nav-btn .slider-nav-icon {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 575px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }
}

.section-heading {
  font-weight: 700;
  color: var(--arsm-text);
  border-bottom: 3px solid var(--arsm-red);
  display: inline-block;
  padding-bottom: 0.35rem;
  margin-bottom: 1.25rem;
}

.info-card,
.contact-panel,
.info-block {
  background-color: var(--arsm-card-bg);
  border: 1px solid var(--arsm-border);
  border-radius: 0.5rem;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.info-card h3,
.info-block h3 {
  color: var(--arsm-red);
  font-size: 1.15rem;
  font-weight: 700;
}

.info-card .meta {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.info-block + .info-block {
  margin-top: 1rem;
}

.btn-arsm-dark {
  background-color: var(--arsm-red);
  color: var(--arsm-white);
  border: 2px solid var(--arsm-red);
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  transition: background-color 0.2s, border-color 0.2s;
}

.btn-arsm-dark:hover,
.btn-arsm-dark:focus {
  background-color: var(--arsm-red-dark);
  border-color: var(--arsm-red-dark);
  color: var(--arsm-white);
}

.table-arsm {
  background-color: var(--arsm-white);
  border-radius: 0.5rem;
  overflow: hidden;
}

.table-arsm thead {
  background-color: var(--arsm-black);
  color: var(--arsm-white);
}

.table-arsm tbody tr:nth-child(even) {
  background-color: var(--arsm-red-light);
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--arsm-red);
}

.alert-warning {
  background-color: #fff3cd;
  border-color: #ffc107;
  color: #664d03;
}

.course-link {
  color: inherit;
  text-decoration: none;
}

.course-link:hover {
  color: var(--arsm-red);
  text-decoration: underline;
}

.course-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s ease;
}

.course-card-link:hover {
  transform: translateY(-4px);
}

.course-card-link:hover .course-card-image-only {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Public course tiles (main website) */
.public-courses-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
}

.courses-grid .public-course-tile {
  height: 100%;
}

.public-course-tile {
  background: var(--arsm-card-bg);
  border: 1px solid #e4e4e4;
  border-top: 4px solid var(--arsm-red);
  border-radius: 0.5rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.public-course-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.public-course-tile-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.public-course-tile-image-wrap {
  height: 170px;
  overflow: hidden;
  background: #f3f3f3;
}

.public-course-tile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.public-course-tile:hover .public-course-tile-image {
  transform: scale(1.04);
}

.public-course-tile-body {
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.public-course-tile-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--arsm-black);
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.public-course-tile-desc {
  margin: 0.5rem 0 0;
  color: var(--arsm-text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  flex: 1;
}

.public-course-tile-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid #efefef;
}

.public-course-tile-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--arsm-red);
}

.public-course-tile-price-muted {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--arsm-text-muted);
}

.public-course-tile-action {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--arsm-black);
}

.public-course-tile:hover .public-course-tile-action {
  color: var(--arsm-red);
}

@media (max-width: 1199px) {
  .public-courses-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .public-courses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .public-courses-grid {
    grid-template-columns: 1fr;
  }
}

.course-detail-hero {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 1.5rem;
  align-items: start;
  background: var(--arsm-white);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.course-detail-image {
  width: 100%;
  border-radius: 0.5rem;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.course-category-badge {
  display: inline-block;
  background: var(--arsm-red-light);
  color: var(--arsm-red);
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.course-detail-desc {
  margin-bottom: 1rem;
}

.course-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--arsm-text-muted);
}

.course-lessons-section {
  margin-top: 2rem;
}

.lesson-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lesson-list-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--arsm-white);
  border-radius: 0.5rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s, box-shadow 0.15s;
}

.lesson-list-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  color: inherit;
}

.lesson-list-order {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--arsm-red);
  color: var(--arsm-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.lesson-list-desc {
  display: block;
  color: var(--arsm-text-muted);
  font-size: 0.92rem;
}

.lesson-type-badge {
  background: var(--arsm-black);
  color: var(--arsm-white);
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.lesson-page {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.lesson-sidebar {
  background: var(--arsm-white);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 1rem;
}

.lesson-sidebar-header {
  background: var(--arsm-black);
  color: var(--arsm-white);
  padding: 1rem;
}

.lesson-back-link {
  color: #f5f5f5;
  text-decoration: none;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.lesson-sidebar-header h2 {
  font-size: 1.1rem;
  margin: 0;
}

.lesson-sidebar-nav {
  display: flex;
  flex-direction: column;
}

.lesson-sidebar-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
  text-decoration: none;
  color: var(--arsm-text);
  border-bottom: 1px solid var(--arsm-border);
}

.lesson-sidebar-item:hover,
.lesson-sidebar-item.active {
  background: var(--arsm-red-light);
  color: var(--arsm-red);
}

.lesson-sidebar-order {
  font-weight: 700;
  min-width: 1.25rem;
}

.lesson-main {
  background: var(--arsm-white);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.lesson-header h1 {
  margin-bottom: 0.5rem;
}

.lesson-description {
  color: var(--arsm-text-muted);
}

.lesson-protected-viewer {
  margin-top: 1.5rem;
  user-select: none;
  -webkit-user-select: none;
}

.lesson-text-content {
  line-height: 1.7;
}

.lesson-media-shell {
  background: #111;
  border-radius: 0.5rem;
  padding: 1rem;
  overflow: auto;
}

.lesson-protected-canvas,
.lesson-protected-video {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

.lesson-pdf-pages {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.lesson-pdf-page {
  max-width: 100%;
  background: #fff;
}

.lesson-protection-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--arsm-text-muted);
}

@media (max-width: 992px) {
  .course-detail-hero,
  .lesson-page {
    grid-template-columns: 1fr;
  }

  .lesson-sidebar {
    position: static;
  }
}

.auth-user {
  color: var(--arsm-text);
  font-size: 0.95rem;
  margin-right: 0.5rem;
}

.course-access-card {
  margin-top: 1.5rem;
  background: var(--arsm-white);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.course-access-section {
  margin-top: 1rem;
}

.profile-applications {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.profile-application-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--arsm-border);
}

.profile-application-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.student-dashboard {
  margin-bottom: 2rem;
}

.dashboard-header {
  margin-bottom: 1.5rem;
}

.dashboard-header h1 {
  margin-bottom: 0.35rem;
}

.dashboard-card {
  background: var(--arsm-white);
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.dashboard-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--arsm-border);
}

.dashboard-card-header h2 {
  font-size: 1.15rem;
  margin: 0;
}

.dashboard-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.dashboard-list-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--arsm-border);
}

.dashboard-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dashboard-purchase-item {
  align-items: center;
}

.dashboard-purchase-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.product-shop-card {
  display: flex;
  flex-direction: column;
}

.product-shop-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: opacity 0.2s ease;
}

.product-shop-link:hover {
  opacity: 0.9;
}

.product-shop-link:hover .product-shop-title {
  color: var(--arsm-red);
}

.product-detail-image-card {
  padding: 0;
  overflow: hidden;
}

.product-detail-image {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.product-shop-image-wrap {
  border-radius: 0.5rem;
  overflow: hidden;
  background: #f5f5f5;
}

.product-shop-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.product-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--arsm-red);
}

.product-qty-input {
  max-width: 72px;
}

/* Student portal layout */
.student-portal-body {
  background-color: var(--arsm-page-bg);
}

.student-portal-shell {
  display: flex;
  min-height: 100vh;
}

.student-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--arsm-black);
  color: var(--arsm-white);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  min-height: 100vh;
}

.student-sidebar-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  text-decoration: none;
  color: var(--arsm-black);
  background: var(--arsm-white);
  border-bottom: 3px solid var(--arsm-red);
}

.student-sidebar-brand:hover {
  color: var(--arsm-black);
  text-decoration: none;
  background: #fafafa;
}

.student-sidebar-brand .logo-wrap {
  background: var(--arsm-white);
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  line-height: 0;
  width: 100%;
}

.student-sidebar-logo {
  height: 64px;
  width: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.student-sidebar-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--arsm-black);
  padding-left: 0.65rem;
  border-left: 3px solid var(--arsm-red);
}

.student-sidebar-nav {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  flex: 1;
}

.student-sidebar-link {
  display: block;
  padding: 0.85rem 1.25rem;
  color: #f0f0f0;
  text-decoration: none;
  font-weight: 600;
  border-left: 3px solid transparent;
  transition: background-color 0.2s, border-color 0.2s;
}

.student-sidebar-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--arsm-white);
  text-decoration: none;
}

.student-sidebar-link.active {
  background: var(--arsm-red);
  border-left-color: var(--arsm-white);
  color: var(--arsm-white);
}

.student-sidebar-footer {
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-student-logout {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--arsm-white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 0.75rem;
}

.btn-student-logout:hover {
  background: var(--arsm-red);
  border-color: var(--arsm-red);
  color: var(--arsm-white);
}

.student-portal-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.student-topbar {
  background: var(--arsm-white);
  border-bottom: 1px solid var(--arsm-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}

.student-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.75rem 1.25rem;
}

.student-cart-basket {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--arsm-black);
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease, color 0.2s ease;
  position: relative;
}

.student-cart-basket:hover {
  background: var(--arsm-red-light);
  color: var(--arsm-red);
}

.student-cart-basket-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--arsm-red-light);
  color: var(--arsm-red);
}

.student-cart-basket-icon svg {
  width: 20px;
  height: 20px;
}

.student-cart-basket-label {
  font-size: 0.95rem;
}

.student-cart-basket-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--arsm-red);
  color: var(--arsm-white);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.student-site-main {
  flex: 1;
}

@media (max-width: 991px) {
  .student-portal-shell {
    flex-direction: column;
  }

  .student-sidebar {
    width: 100%;
    min-height: auto;
    position: static;
  }

  .student-sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.75rem;
  }

  .student-sidebar-link {
    padding: 0.5rem 0.85rem;
    border-radius: 0.35rem;
    border-left: none;
  }

  .student-sidebar-link.active {
    border-left: none;
  }
}

/* Public courses category dropdown */
.main-navbar .dropdown-menu-arsm {
  border: none;
  border-radius: 0 0 0.5rem 0.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  padding: 0.35rem 0;
}

.main-navbar .dropdown-menu-arsm .dropdown-item {
  font-weight: 600;
  padding: 0.55rem 1.25rem;
}

.main-navbar .dropdown-menu-arsm .dropdown-item.active,
.main-navbar .dropdown-menu-arsm .dropdown-item:active {
  background-color: var(--arsm-red-light);
  color: var(--arsm-red);
}

.main-navbar .dropdown-menu-arsm .dropdown-item:hover {
  background-color: var(--arsm-red-light);
  color: var(--arsm-red);
}

.main-navbar .nav-link.dropdown-toggle::after {
  margin-left: 0.4em;
}

/* Contact Us page */
.site-main--contact .contact-page-container {
  padding-top: 0;
  max-width: 1140px;
}

.contact-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 2.5rem;
  padding: 3.5rem 1.5rem 3.75rem;
  position: relative;
  overflow: hidden;
  color: var(--arsm-white);
  background:
    linear-gradient(120deg, rgba(227, 27, 36, 0.92) 0%, rgba(180, 21, 28, 0.88) 38%, rgba(26, 26, 26, 0.95) 100%),
    linear-gradient(135deg, var(--arsm-black) 0%, #2a2a2a 100%);
  border-bottom: 4px solid var(--arsm-red);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 42%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 18px,
      rgba(255, 255, 255, 0.03) 18px,
      rgba(255, 255, 255, 0.03) 36px
    );
  pointer-events: none;
}

.contact-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.contact-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.contact-hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--arsm-white);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  margin-bottom: 1rem;
}

.contact-hero h1 {
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 1rem;
  color: var(--arsm-white);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.contact-hero h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 1rem auto 0;
  border-radius: 999px;
  background: var(--arsm-white);
  opacity: 0.9;
}

.contact-hero p {
  margin: 1.25rem auto 0;
  max-width: 560px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-card {
  background: var(--arsm-card-bg);
  border: 1px solid var(--arsm-border);
  border-radius: 0.75rem;
  padding: 1.75rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

.contact-card--location {
  border-top: 4px solid var(--arsm-red);
}

.contact-card--reach {
  border-top: 4px solid var(--arsm-black);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--arsm-red-light);
  color: var(--arsm-red);
  margin-bottom: 1rem;
}

.contact-card-icon svg {
  width: 26px;
  height: 26px;
}

.contact-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--arsm-black);
  margin-bottom: 0.75rem;
}

.contact-card-lead {
  font-weight: 600;
  color: var(--arsm-text);
  margin-bottom: 0.35rem;
}

.contact-card-body {
  font-style: normal;
  line-height: 1.7;
  color: var(--arsm-text-muted);
  margin-bottom: 1rem;
}

.contact-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--arsm-red);
  text-decoration: none;
}

.contact-card-link:hover {
  color: var(--arsm-red-dark);
  text-decoration: underline;
}

.contact-detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-detail-list li {
  display: grid;
  gap: 0.2rem;
}

.contact-detail-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--arsm-text-muted);
}

.contact-detail-list a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--arsm-black);
  text-decoration: none;
}

.contact-detail-list a:hover {
  color: var(--arsm-red);
}

.contact-form-section {
  margin-bottom: 2rem;
}

.contact-form-header {
  margin-bottom: 1.25rem;
}

.contact-form-header p {
  margin: 0.5rem 0 0;
  color: var(--arsm-text-muted);
  font-size: 1rem;
}

.contact-form-card {
  background: var(--arsm-card-bg);
  border: 1px solid var(--arsm-border);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--arsm-red);
}

.contact-message-form .form-label {
  font-weight: 600;
  color: var(--arsm-text);
}

.contact-input {
  border: 1px solid #d5d5d5;
  border-radius: 0.5rem;
  padding: 0.7rem 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-input:focus {
  border-color: var(--arsm-red);
  box-shadow: 0 0 0 0.2rem rgba(227, 27, 36, 0.15);
}

.contact-textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-submit-btn {
  min-width: 180px;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
}

@media (max-width: 767px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    padding: 2.5rem 1.25rem 2.75rem;
  }

  .contact-hero h1 {
    font-size: 1.85rem;
  }

  .contact-form-card {
    padding: 1.25rem;
  }
}

/* Student course catalog */
.course-catalog {
  margin-bottom: 2rem;
}

.course-catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--arsm-card-bg);
  border: 1px solid var(--arsm-border);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.course-catalog-toolbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

.course-catalog-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--arsm-black);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.course-catalog-brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--arsm-red-light);
  color: var(--arsm-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.course-catalog-brand-icon svg {
  width: 18px;
  height: 18px;
}

.course-catalog-search {
  position: relative;
  flex: 1 1 220px;
  max-width: 360px;
}

.course-catalog-search-input {
  width: 100%;
  border: 1px solid #d7d7d7;
  border-radius: 0.4rem;
  padding: 0.55rem 2.4rem 0.55rem 0.85rem;
  font-size: 0.95rem;
}

.course-catalog-search-input:focus {
  outline: none;
  border-color: var(--arsm-red);
  box-shadow: 0 0 0 0.15rem rgba(227, 27, 36, 0.15);
}

.course-catalog-search-icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  pointer-events: none;
}

.course-catalog-search-icon svg {
  width: 18px;
  height: 18px;
}

.course-catalog-select {
  border: 1px solid #d7d7d7;
  border-radius: 0.4rem;
  padding: 0.55rem 2rem 0.55rem 0.85rem;
  font-size: 0.95rem;
  min-width: 150px;
  background-color: var(--arsm-white);
}

.course-catalog-view-toggle {
  display: inline-flex;
  border: 1px solid #d7d7d7;
  border-radius: 0.35rem;
  overflow: hidden;
  flex-shrink: 0;
}

.course-view-btn {
  border: none;
  background: var(--arsm-white);
  color: var(--arsm-text);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.course-view-btn.active {
  background: var(--arsm-red);
  color: var(--arsm-white);
}

.course-catalog-grid {
  display: grid;
  gap: 1.25rem;
}

.course-catalog-grid--box {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.course-catalog-grid--list {
  grid-template-columns: 1fr;
}

.course-catalog-card {
  background: var(--arsm-card-bg);
  border: 1px solid #e4e4e4;
  border-top: 5px solid var(--arsm-red);
  border-radius: 0.35rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-catalog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

.course-catalog-grid--list .course-catalog-card {
  flex-direction: row;
  align-items: stretch;
}

.course-catalog-card-body {
  padding: 1.25rem 1.25rem 0.75rem;
  flex: 1;
}

.course-catalog-grid--list .course-catalog-card-body {
  padding-bottom: 1.25rem;
}

.course-catalog-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.35;
}

.course-catalog-card-title a {
  color: var(--arsm-black);
  text-decoration: underline;
  text-decoration-color: rgba(227, 27, 36, 0.35);
  text-underline-offset: 3px;
}

.course-catalog-card-title a:hover {
  color: var(--arsm-red);
}

.course-catalog-card-desc {
  margin: 0;
  color: var(--arsm-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.course-catalog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem 1.1rem;
  border-top: 1px solid #efefef;
  margin-top: auto;
}

.course-catalog-grid--list .course-catalog-card-footer {
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  min-width: 180px;
  border-top: none;
  border-left: 1px solid #efefef;
  padding: 1rem 1.25rem;
}

.course-catalog-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--arsm-black);
}

.course-catalog-price-muted {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--arsm-text-muted);
}

.course-catalog-btn {
  border: none;
  border-radius: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.55rem 0.95rem;
  white-space: nowrap;
}

.course-catalog-btn--apply,
.course-catalog-btn--view {
  background: var(--arsm-red);
  color: var(--arsm-white);
}

.course-catalog-btn--apply:hover,
.course-catalog-btn--view:hover {
  background: var(--arsm-red-dark);
  color: var(--arsm-white);
}

.course-catalog-btn--pending {
  background: #ececec;
  color: #777;
  cursor: not-allowed;
}

.course-catalog-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--arsm-text-muted);
  background: var(--arsm-card-bg);
  border: 1px dashed var(--arsm-border);
  border-radius: 0.5rem;
}

@media (max-width: 991px) {
  .course-catalog-grid--list .course-catalog-card {
    flex-direction: column;
  }

  .course-catalog-grid--list .course-catalog-card-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-left: none;
    border-top: 1px solid #efefef;
    min-width: 0;
  }
}

@media (max-width: 767px) {
  .course-catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .course-catalog-toolbar-left {
    flex-direction: column;
    align-items: stretch;
  }

  .course-catalog-search {
    max-width: none;
  }

  .course-catalog-view-toggle {
    align-self: flex-end;
  }
}

.product-catalog-image-link {
  display: block;
  text-decoration: none;
}

.product-catalog-image-wrap {
  height: 150px;
  overflow: hidden;
  background: #f3f3f3;
}

.product-catalog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.product-catalog-card:hover .product-catalog-image {
  transform: scale(1.03);
}

.course-catalog-grid--list .product-catalog-image-wrap {
  width: 180px;
  height: 100%;
  min-height: 140px;
  flex-shrink: 0;
}

.course-catalog-grid--list .product-catalog-card {
  overflow: hidden;
}

.course-catalog-grid--list .product-catalog-image-link {
  display: flex;
}

.course-catalog-btn--in-cart {
  background: #1a1a1a;
  color: var(--arsm-white);
}

.course-catalog-btn--in-cart:hover {
  background: #333;
  color: var(--arsm-white);
}

.student-sidebar-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  margin-left: auto;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--arsm-red);
  color: var(--arsm-white);
  font-size: 0.72rem;
  font-weight: 700;
}

.cart-page-header h1 {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.cart-tabs {
  border-bottom: 2px solid var(--arsm-border);
  margin-bottom: 1.5rem;
}

.cart-tabs .nav-link {
  color: var(--arsm-text);
  font-weight: 600;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-tabs .nav-link.active {
  color: var(--arsm-red);
  background: transparent;
  border-bottom-color: var(--arsm-red);
}

.cart-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--arsm-red-light);
  color: var(--arsm-red);
  font-size: 0.75rem;
  font-weight: 700;
}

.cart-tab-panel {
  background: var(--arsm-card-bg);
  border: 1px solid var(--arsm-border);
  border-radius: 0.5rem;
  padding: 1.25rem;
}

.cart-items {
  display: grid;
  gap: 1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid #efefef;
}

.cart-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cart-item-image-wrap {
  width: 96px;
  height: 72px;
  border-radius: 0.35rem;
  overflow: hidden;
  background: #f3f3f3;
}

.cart-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.cart-item-desc {
  margin: 0;
  color: var(--arsm-text-muted);
  font-size: 0.9rem;
}

.cart-item-side {
  text-align: right;
  display: grid;
  gap: 0.5rem;
  justify-items: end;
}

.cart-item-price {
  font-size: 1.1rem;
  font-weight: 800;
}

.cart-qty-input {
  max-width: 72px;
}

.cart-summary {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 2px solid #efefef;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cart-summary-row {
  font-size: 1.1rem;
}

.cart-checkout-btn {
  min-width: 200px;
}

.cart-empty,
.checkout-card {
  text-align: center;
  padding: 2rem 1rem;
}

.checkout-page .checkout-header {
  margin-bottom: 1.5rem;
}

.checkout-card {
  text-align: left;
  background: var(--arsm-card-bg);
  border: 1px solid var(--arsm-border);
  border-radius: 0.5rem;
  border-left: 4px solid var(--arsm-red);
}

.checkout-lines {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.checkout-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #efefef;
}

.checkout-line:last-child {
  border-bottom: none;
}

.checkout-line-price {
  font-weight: 700;
  white-space: nowrap;
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
  padding-top: 0.75rem;
  border-top: 2px solid #efefef;
}

.checkout-note {
  margin-top: 1rem;
}

@media (max-width: 767px) {
  .cart-item {
    grid-template-columns: 1fr;
  }

  .cart-item-side {
    text-align: left;
    justify-items: start;
  }
}
