:root {
  --nvl-red: #d81920;
  --nvl-red-dark: #b8141a;
  --nvl-black: #111111;
  --nvl-black-soft: #1a1a1a;
  --nvl-gray-bg: #f4f4f5;
  --nvl-gray-border: #e5e5e7;
  --nvl-text-muted: #5c5c5f;
}

body {
  font-family: "Inter", "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #202020;
  background-color: #ffffff;
}

a {
  text-decoration: none;
}

.text-nvl-red {
  color: var(--nvl-red) !important;
}

.bg-nvl-red {
  background-color: var(--nvl-red) !important;
}

.bg-nvl-black {
  background-color: var(--nvl-black) !important;
}

.btn-nvl {
  background-color: var(--nvl-red);
  border: 1px solid var(--nvl-red);
  color: #fff;
  font-weight: 700;
  letter-spacing: .02em;
  padding: .75rem .75rem;
  border-radius: 6px;
  transition: background-color .15s ease, border-color .15s ease, transform .1s ease;
}

.btn-nvl:hover,
.btn-nvl:focus {
  background-color: var(--nvl-red-dark);
  border-color: var(--nvl-red-dark);
  color: #fff;
}

.btn-nvl:active {
  transform: translateY(1px);
}

.btn-nvl-outline {
  background-color: transparent;
  border: 1px solid var(--nvl-red);
  color: var(--nvl-red);
  font-weight: 700;
  letter-spacing: .02em;
  padding: .75rem 1.75rem;
  border-radius: 6px;
  transition: background-color .15s ease, color .15s ease;
}

.btn-nvl-outline:hover {
  background-color: var(--nvl-red);
  color: #fff;
}

/* ---------- Top utility bar ---------- */
.topbar {
  background-color: var(--nvl-red);
  color: #fff;
  font-size: .85rem;
  padding: .5rem 0;
}

.topbar a {
  color: #fff;
}

.topbar .divider {
  color: rgba(255, 255, 255, .45);
}

.topbar i,
.topbar svg {
  margin-right: .35rem;
}

.topbar .dropdown-menu {
  z-index: 1030;
}

/* ---------- Main navigation ---------- */
.navbar-nvl {
  background-color: var(--nvl-black);
  padding: .85rem 0;
}

.navbar-nvl .navbar-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border: 2px solid var(--nvl-red);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--nvl-red);
  font-size: 1rem;
  letter-spacing: -.02em;
  flex-shrink: 0;
}

.brand-text-main {
  color: #fff;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .06em;
  line-height: 1.2;
}

.brand-text-sub {
  color: var(--nvl-red);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: .01em;
  line-height: 1.15;
}

.brand-text-tag {
  color: #9a9a9a;
  font-size: .68rem;
  letter-spacing: .02em;
}

.navbar-nvl .nav-link {
  color: #e6e6e6;
  font-weight: 600;
  font-size: .95rem;
  padding: .5rem 1rem !important;
}

.navbar-nvl .nav-link:hover,
.navbar-nvl .nav-link.active {
  color: var(--nvl-red);
}

.navbar-nvl .dropdown-menu {
  background-color: var(--nvl-black-soft);
  border: 1px solid #2a2a2a;
}

.navbar-nvl .dropdown-item {
  color: #e6e6e6;
}

.navbar-nvl .dropdown-item:hover,
.navbar-nvl .dropdown-item:focus {
  background-color: var(--nvl-red);
  color: #fff;
}

/* ---------- Sections ---------- */
.section-bg-light {
  background-color: var(--nvl-gray-bg);
}

.section-eyebrow {
  color: var(--nvl-red);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section-heading {
  font-weight: 800;
  letter-spacing: -.01em;
}

.underline-accent {
  width: 60px;
  height: 4px;
  background-color: var(--nvl-red);
  border-radius: 2px;
}

/* ---------- Icon badges ---------- */
.icon-badge {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background-color: var(--nvl-red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-badge-lg {
  width: 68px;
  height: 68px;
}

.icon-badge-outline {
  background-color: #fdeceb;
  color: var(--nvl-red);
}

.icon-circle-sm {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(216, 25, 32, .08);
  color: var(--nvl-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- Service cards on home ---------- */
/* ---------- Service cards on home ---------- */
.service-card {
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
}

.service-card-repair {
  background-color: var(--nvl-black);
  color: #fff;
}

.service-card-refurb {
  background-color: #fff;
  border: 1px solid var(--nvl-gray-border);
}

.service-media {
  position: relative;
  background-image: var(--overlay), var(--img);
  background-size: cover;
  background-position: center;
}

.service-card-repair .service-media {
  --overlay: linear-gradient(90deg, rgba(10, 10, 10, .96) 0%, rgba(10, 10, 10, .88) 42%, rgba(10, 10, 10, .3) 78%, rgba(10, 10, 10, 0) 100%);
}

.service-card-refurb .service-media {
  --overlay: linear-gradient(90deg, #fff 0%, #fff 40%, rgba(255, 255, 255, .4) 78%, rgba(255, 255, 255, 0) 100%);
}

.service-content {
  padding: 1.5rem 2.5rem;
}

.service-card ul li {
  padding: .3rem 0;
}

.service-card .check-icon {
  color: var(--nvl-red);
  margin-right: .5rem;
}

.service-card-strip {
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.service-card-refurb .service-card-strip {
  border-top: 1px solid var(--nvl-gray-border);
}

.service-card-strip > div:not(:first-child) {
  border-left: 1px solid rgba(255, 255, 255, .1);
}

.service-card-refurb .service-card-strip > div:not(:first-child) {
  border-left-color: var(--nvl-gray-border);
}

.brand-logo-row img,
.brand-logo-row .brand-logo-text {
  height: 28px;
  object-fit: contain;
}

/* ---------- Feature / step blocks ---------- */
.step-icon-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px solid var(--nvl-red);
  color: var(--nvl-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.step-arrow {
  color: #b3b3b3;
  font-size: 1.5rem;
}

/* ---------- Photo panels ---------- */
.photo-panel {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

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

.photo-caption-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0));
  color: #fff;
  padding: 1rem 1.25rem .85rem;
  font-weight: 600;
  font-size: .95rem;
}

.stat-strip {
  background-color: var(--nvl-black);
  color: #fff;
}

.stat-strip .stat-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--nvl-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- Testimonial / rating ---------- */
.google-rating-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.star-row i {
  color: #f5b400;
}

/* ---------- Forms ---------- */
.form-control,
.form-select {
  border: 1px solid #d7d7da;
  padding: .65rem .85rem;
  border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--nvl-red);
  box-shadow: 0 0 0 .2rem rgba(216, 25, 32, .12);
}

.form-label {
  font-weight: 600;
  font-size: .9rem;
}

.required-mark {
  color: var(--nvl-red);
}

.upload-dropzone {
  border: 2px dashed #d7d7da;
  border-radius: 10px;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--nvl-text-muted);
  background-color: #fafafa;
  transition: border-color .15s ease, background-color .15s ease;
  cursor: pointer;
}

.upload-dropzone.dragover {
  border-color: var(--nvl-red);
  background-color: #fdeceb;
}

/* ---------- FAQ accordion ---------- */
.faq-item {
  border-bottom: 1px solid var(--nvl-gray-border);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #202020;
}

.faq-question .faq-chevron {
  transition: transform .2s ease;
  color: var(--nvl-red);
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 0 1rem;
  color: var(--nvl-text-muted);
}

.faq-answer.show {
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--nvl-black);
  color: #cfcfcf;
}

.site-footer a {
  color: #cfcfcf;
}

.site-footer a:hover {
  color: var(--nvl-red);
}

.site-footer .footer-heading {
  color: #fff;
  font-weight: 700;
}

.site-footer hr {
  border-color: #2c2c2c;
}

/* ---------- Misc ---------- */
.rounded-card {
  border-radius: 14px;
}

.shadow-soft {
  box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
}

.hero-badge-panel {
  background-color: var(--nvl-red);
  color: #fff;
  border-radius: 12px;
}

section {
  scroll-margin-top: 90px;
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--nvl-red);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  border: none;
  z-index: 1030;
}

.back-to-top.show {
  display: inline-flex;
}

/* ---------- Product cards (laptops listing) ---------- */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #fff;
  border: 1px solid var(--nvl-gray-border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .1);
}

.product-card-media {
  position: relative;
  flex-shrink: 0;
  display: block;
  aspect-ratio: 4 / 3;
  background-color: var(--nvl-gray-bg);
}

.product-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.75rem;
}

.product-card-media .placeholder-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #c7c7ca;
}

.product-card.is-sold-out .product-card-media img {
  opacity: .5;
}

.product-card-badges {
  position: absolute;
  top: .85rem;
  left: .85rem;
  right: .85rem;
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  pointer-events: none;
}

.product-badge {
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: .3rem .65rem;
  border-radius: 20px;
  white-space: nowrap;
}

.badge-in-stock {
  background-color: #1d8a4c;
}

.badge-sold-out {
  background-color: #6c6c70;
}

.product-card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
}

.product-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.35em * 2);
  margin-bottom: .5rem;
  color: #202020;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.product-card-title:hover {
  color: var(--nvl-red);
}

.product-card-specs {
  margin-bottom: 1rem;
  color: var(--nvl-text-muted);
  font-size: .85rem;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--nvl-gray-border);
}

.product-card-price .price-current {
  color: var(--nvl-red);
  font-weight: 800;
  font-size: 1.15rem;
}

.product-card-price .price-original {
  display: block;
  color: var(--nvl-text-muted);
  font-size: .8rem;
  text-decoration: line-through;
}

.product-card-cta {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ---------- Product detail gallery ---------- */
.product-gallery-main {
  height: 420px;
  border-radius: 14px;
  border: 1px solid var(--nvl-gray-border);
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-gallery-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-gallery-main i {
  font-size: 5rem;
  color: #c7c7ca;
}

.product-gallery-thumb {
  width: 70px;
  height: 70px;
  padding: 0;
  border: 1px solid var(--nvl-gray-border);
  border-radius: 8px;
  background-color: #fff;
  overflow: hidden;
  cursor: pointer;
}

.product-gallery-thumb.active {
  border-color: var(--nvl-red);
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------- Spec table ---------- */
.spec-table th {
  width: 220px;
  color: var(--nvl-text-muted);
  font-weight: 600;
  border-color: var(--nvl-gray-border);
}

.spec-table td {
  border-color: var(--nvl-gray-border);
}

/* ---------- Quantity stepper ---------- */
.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--nvl-gray-border);
  border-radius: 8px;
  overflow: hidden;
}

.qty-btn {
  width: 38px;
  height: 42px;
  border: none;
  background-color: var(--nvl-gray-bg);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.qty-btn:hover {
  background-color: var(--nvl-gray-border);
}

.qty-input {
  width: 44px;
  height: 42px;
  border: none;
  border-left: 1px solid var(--nvl-gray-border);
  border-right: 1px solid var(--nvl-gray-border);
  text-align: center;
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ---------- Cart icon & checkout ---------- */
.btn-cart-icon {
  color: #e6e6e6;
  font-size: 1.35rem;
  padding: .25rem .5rem;
}

.btn-cart-icon:hover {
  color: var(--nvl-red);
}

.cart-count-badge {
  position: absolute;
  top: -4px;
  right: -2px;
  background-color: var(--nvl-red);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  line-height: 1;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.cart-item-thumb {
  width: 72px;
  height: 72px;
  border: 1px solid var(--nvl-gray-border);
  border-radius: 10px;
  background-color: var(--nvl-gray-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .5rem;
}

.cart-item-thumb i {
  font-size: 1.5rem;
  color: #c7c7ca;
}

/* ---------- Account / orders ---------- */
.order-row {
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.order-row:hover {
  transform: translateY(-2px);
  border-color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .1);
}

.order-row-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

@media (min-width: 768px) {
  .order-row-meta {
    width: auto;
    justify-content: flex-end;
  }
}
