:root {
  --bg: #06110d;
  --bg-2: #0b1b15;
  --panel: #10251d;
  --panel-2: #153126;
  --text: #eef8f2;
  --muted: #a9bdb3;
  --line: rgba(216, 255, 231, 0.12);
  --green: #15c37b;
  --green-2: #55e39e;
  --cyan: #4fd5d7;
  --amber: #f0b95b;
  --danger: #ff6d70;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
  --radius: 8px;
  --hero-fade-1: rgba(6,19,14,0.95);
  --hero-fade-2: rgba(6,19,14,0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}

body.light-mode {
  --bg: #f5faf7;
  --bg-2: #eef7f2;
  --panel: #ffffff;
  --panel-2: #edf7f2;
  --text: #0c1c16;
  --muted: #4f665c;
  --line: rgba(12, 28, 22, 0.12);
  --shadow: 0 18px 50px rgba(16, 37, 29, 0.12);
  --hero-fade-1: rgba(245,250,247,0.95);
  --hero-fade-2: rgba(245,250,247,0.25);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.btn {
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 700;
  min-height: 42px;
}

.btn-success {
  --bs-btn-bg: var(--green);
  --bs-btn-border-color: var(--green);
  --bs-btn-hover-bg: #10ad6d;
  --bs-btn-hover-border-color: #10ad6d;
  --bs-btn-color: #03120b;
  --bs-btn-hover-color: #03120b;
}

.btn-outline-light {
  --bs-btn-border-color: var(--line);
  --bs-btn-color: var(--text);
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.08);
  --bs-btn-hover-border-color: rgba(255, 255, 255, 0.28);
  --bs-btn-hover-color: var(--text);
}

.site-nav {
  background: rgba(6, 17, 13, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.light-mode .site-nav {
  background: rgba(245, 250, 247, 0.88);
}

.navbar-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
}

.navbar-brand img,
.footer-brand img {
  width: 38px;
  height: 38px;
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--muted);
  font-weight: 650;
  padding-inline: 0.85rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: var(--text);
}

.light-mode .navbar-dark .navbar-nav .nav-link,
.light-mode .navbar-dark .navbar-brand {
  color: var(--text);
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 0 5rem;
  background:
    linear-gradient(115deg, rgba(21, 195, 123, 0.2), transparent 38%),
    radial-gradient(circle at 78% 22%, rgba(79, 213, 215, 0.16), transparent 26%),
    var(--bg);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(85, 227, 158, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 227, 158, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-44px, 44px, 0); }
}

.floating-icons span {
  position: absolute;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--green-2);
  background: rgba(16, 37, 29, 0.62);
  box-shadow: var(--shadow);
  animation: floatTech 7s ease-in-out infinite;
}

.floating-icons span:nth-child(1) { top: 21%; left: 7%; }
.floating-icons span:nth-child(2) { top: 18%; right: 10%; animation-delay: 1s; }
.floating-icons span:nth-child(3) { bottom: 20%; left: 12%; animation-delay: 2s; }
.floating-icons span:nth-child(4) { bottom: 14%; right: 8%; animation-delay: 3s; }
.floating-icons span:nth-child(5) { top: 50%; right: 2%; animation-delay: 4s; }

@keyframes floatTech {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.hero-section .container,
.page-hero .container {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  color: var(--green-2);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
  margin-bottom: 0.9rem;
}

h1, h2, h3, h4 {
  letter-spacing: 0;
  line-height: 1.08;
  font-weight: 850;
}

.hero-section h1 {
  font-size: clamp(2.75rem, 6vw, 5.7rem);
  max-width: 860px;
}

.hero-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.2rem;
  margin: 1.3rem 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.hero-proof div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(16, 37, 29, 0.62);
}

.light-mode .hero-proof div,
.light-mode .floating-icons span {
  background: rgba(255, 255, 255, 0.82);
}

.hero-proof strong {
  display: block;
  font-size: 1.45rem;
  color: var(--green-2);
}

.hero-proof span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual,
.detail-visual,
.wide-visual {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(21, 195, 123, 0.12), rgba(79, 213, 215, 0.08));
  box-shadow: var(--shadow);
}

.hero-visual {
  padding: 0.7rem;
  transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
}

.page-hero {
  padding: 9rem 0 4rem;
  background:
    linear-gradient(135deg, rgba(21, 195, 123, 0.16), transparent 34%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(2.2rem, 4.4vw, 4.8rem);
}

.page-hero p {
  color: var(--muted);
  max-width: 760px;
  font-size: 1.1rem;
}

.section {
  padding: 5.5rem 0;
}

.section-compact {
  padding-top: 4rem;
}

.section-muted {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2.4rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 3.4vw, 3.4rem);
}

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

.product-card,
.service-card,
.portfolio-card,
.testimonial-card,
.blog-card,
.job-card,
.form-panel,
.contact-panel,
.detail-panel,
.detail-sidebar,
.cta-band,
.category-cloud {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.light-mode .product-card,
.light-mode .service-card,
.light-mode .portfolio-card,
.light-mode .testimonial-card,
.light-mode .blog-card,
.light-mode .job-card,
.light-mode .form-panel,
.light-mode .contact-panel,
.light-mode .detail-panel,
.light-mode .detail-sidebar,
.light-mode .cta-band,
.light-mode .category-cloud {
  background: #ffffff;
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-media {
  display: block;
  aspect-ratio: 16 / 10;
  padding: 0.9rem;
  background: rgba(21, 195, 123, 0.08);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

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

.category-pill,
.portfolio-card span,
.blog-card span,
.job-card span {
  display: inline-flex;
  color: var(--cyan);
  font-size: 0.83rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.product-card h3,
.service-card h3,
.portfolio-card h3,
.blog-card h3,
.job-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.7rem;
}

.product-card p,
.service-card p,
.portfolio-card p,
.testimonial-card p,
.blog-card p,
.job-card p {
  color: var(--muted);
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}

.card-actions strong {
  color: var(--green-2);
}

.service-card {
  padding: 1.1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 92px 1fr;
  align-items: start;
}

.service-card img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 6px;
  background: rgba(21, 195, 123, 0.08);
}

.icon-link {
  color: var(--green-2);
  font-weight: 800;
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
}

.portfolio-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.portfolio-card {
  padding: 1rem;
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.testimonial-swiper {
  padding-bottom: 2.7rem;
}

.testimonial-card {
  padding: 1.4rem;
}

.stars {
  color: var(--amber);
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.testimonial-person {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1rem;
}

.testimonial-person img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.testimonial-person span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  background:
    linear-gradient(100deg, rgba(21, 195, 123, 0.18), rgba(79, 213, 215, 0.08)),
    var(--panel);
}

.cta-band p {
  color: var(--muted);
  max-width: 680px;
  margin: 0;
}

.blog-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 1rem;
  padding: 1rem;
}

.blog-card.vertical {
  grid-template-columns: 1fr;
}

.blog-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
}

.blog-card.vertical img {
  height: auto;
  aspect-ratio: 16 / 10;
}

.category-cloud {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
}

.category-cloud strong {
  display: block;
  margin-bottom: 0.7rem;
}

.category-cloud span {
  display: inline-flex;
  margin: 0.25rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.value-grid div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.value-grid i {
  color: var(--green-2);
  font-size: 1.4rem;
}

.value-grid strong,
.value-grid span {
  display: block;
}

.value-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.timeline div {
  border-top: 2px solid var(--green);
  padding-top: 1rem;
}

.timeline strong {
  display: block;
  color: var(--green-2);
  font-size: 1.2rem;
}

.timeline span {
  color: var(--muted);
}

.filter-bar {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.search-form,
.newsletter-form {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.search-form input,
.newsletter-form input {
  max-width: 460px;
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-weight: 700;
  width: 100%;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(85, 227, 158, 0.68);
  box-shadow: 0 0 0 4px rgba(21, 195, 123, 0.12);
}

.form-panel,
.contact-panel,
.detail-panel,
.detail-sidebar {
  padding: 1.4rem;
}

.contact-panel {
  display: grid;
  gap: 1rem;
}

.contact-panel > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.1rem 0.75rem;
  align-items: center;
}

.contact-panel i {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--green-2);
}

.contact-panel span {
  color: var(--muted);
}

.contact-panel iframe {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: var(--radius);
}

.faq-accordion .accordion-item {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
}

.faq-accordion .accordion-button {
  background: transparent;
  color: var(--text);
  font-weight: 800;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--green-2);
  box-shadow: none;
}

.accordion-body {
  color: var(--muted);
}

.job-card {
  padding: 1.2rem;
}

.wizard-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.wizard-progress span {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.wizard-progress span.active {
  background: var(--green);
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
}

.wizard-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.wizard-submit,
.wizard-prev {
  display: none;
}

.detail-panel h2 {
  margin-top: 1.2rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.feature-list span {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  color: var(--muted);
}

.feature-list i {
  color: var(--green-2);
  margin-top: 0.2rem;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.screenshot-grid img,
.article-cover {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.video-frame,
.detail-visual {
  overflow: hidden;
}

.detail-sidebar {
  display: grid;
  gap: 0.9rem;
  position: sticky;
  top: 92px;
}

.detail-sidebar div {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.9rem;
}

.detail-sidebar span {
  color: var(--muted);
  display: block;
  font-size: 0.88rem;
}

.detail-sidebar strong {
  color: var(--green-2);
  font-size: 1.25rem;
}

.narrow {
  max-width: 860px;
}

.article-body {
  color: var(--muted);
  font-size: 1.08rem;
  margin-top: 1.6rem;
}

.site-footer {
  padding: 4rem 0 2rem;
  background: #04100b;
  border-top: 1px solid var(--line);
}

.light-mode .site-footer {
  background: #eaf5ef;
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: var(--muted);
}

.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.site-footer a {
  display: block;
  margin: 0.45rem 0;
}

.footer-brand {
  color: var(--text);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 0.55rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.whatsapp-float,
.back-to-top {
  position: fixed;
  right: 1rem;
  z-index: 1000;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.whatsapp-float {
  bottom: 5.2rem;
  background: #25d366;
  color: #04100b;
}

.back-to-top {
  bottom: 1rem;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.cookie-consent {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 1000;
  display: none;
  align-items: center;
  gap: 1rem;
  max-width: 460px;
  padding: 1rem;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cookie-consent.show {
  display: flex;
}

.admin-body {
  background: var(--bg);
  min-height: 100vh;
}

.admin-shell {
  display: grid;
  grid-template-columns: 270px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  border-right: 1px solid var(--line);
  background: #04100b;
  padding: 1.2rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important;  /* IE/Edge */
}

.admin-sidebar::-webkit-scrollbar {
  display: none !important; /* Chrome/Safari/Opera */
  width: 0 !important;
  height: 0 !important;
}

.admin-sidebar .navbar-brand {
  margin-bottom: 1rem;
}

.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.8rem;
  color: var(--muted);
  border-radius: var(--radius);
  margin-bottom: 0.25rem;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
  color: var(--text);
  background: rgba(21, 195, 123, 0.12);
}

.admin-main {
  padding: 1.2rem;
}

.admin-topbar,
.admin-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.admin-topbar {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.admin-card {
  padding: 1.2rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.035);
}

.stat-card span {
  color: var(--muted);
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  color: var(--green-2);
}

.table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--text);
  --bs-table-border-color: var(--line);
  color: var(--text);
}

.table a {
  color: var(--green-2);
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    linear-gradient(140deg, rgba(21, 195, 123, 0.18), transparent 36%),
    var(--bg);
}

.admin-login .form-panel {
  width: min(100%, 440px);
}

.media-preview {
  max-width: 120px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

@media (max-width: 991px) {
  .hero-section {
    min-height: auto;
    padding-top: 7rem;
  }

  .hero-proof,
  .value-grid,
  .timeline,
  .portfolio-strip,
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    transform: none;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: relative;
    height: auto;
  }
}

@media (max-width: 767px) {
  .hero-proof,
  .portfolio-strip,
  .value-grid,
  .timeline,
  .feature-list,
  .screenshot-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .floating-icons {
    display: none;
  }

  .blog-card,
  .service-card {
    grid-template-columns: 1fr;
  }

  .wizard-actions,
  .footer-bottom,
  .search-form,
  .newsletter-form {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .wizard-actions .btn,
  .search-form .btn,
  .newsletter-form .btn {
    width: 100%;
  }

  .page-hero,
  .section {
    padding-block: 4rem;
  }

  .cookie-consent {
    right: 1rem;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   E-Commerce Redesign & Styles
   ========================================================================== */

/* Cart & Checkout Specifics */
.cart-table th {
  border-bottom: 2px solid var(--line);
  color: var(--text);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.cart-table td {
  padding-block: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.cart-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(21, 195, 123, 0.08);
}

.cart-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  max-width: 130px;
}

.cart-qty-control button {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.cart-qty-control button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.cart-qty-control input {
  width: 46px;
  height: 32px;
  border: 0;
  border-inline: 1px solid var(--line);
  background: transparent;
  text-align: center;
  color: var(--text);
  font-weight: 700;
  padding: 0;
}

.cart-remove-btn {
  color: var(--danger);
  background: transparent;
  border: 0;
  font-size: 1.1rem;
  padding: 0.2rem;
  transition: opacity 0.2s;
}

.cart-remove-btn:hover {
  opacity: 0.8;
}

/* Checkout Page UI */
.checkout-summary-card {
  padding: 1.5rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: sticky;
  top: 92px;
}

.checkout-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 0.6rem;
  border-bottom: 1px dashed var(--line);
}

.checkout-summary-item:last-of-type {
  border-bottom: 0;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--line);
  font-size: 1.25rem;
  color: var(--green-2);
}

/* Payment Option Radio Buttons */
.payment-selector {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.payment-option-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.payment-option-card:hover {
  border-color: rgba(85, 227, 158, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.payment-option-card input[type="radio"] {
  width: auto;
  margin: 0;
}

.payment-option-card input[type="radio"]:checked + .payment-desc strong {
  color: var(--green-2);
}

.payment-desc {
  display: flex;
  flex-direction: column;
}

.payment-desc strong {
  font-size: 0.95rem;
}

.payment-desc span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Success Card */
.success-card {
  text-align: center;
  max-width: 600px;
  margin: 3rem auto;
  padding: 3rem 2rem;
}

.success-icon {
  font-size: 4rem;
  color: var(--green-2);
  margin-bottom: 1.5rem;
  display: inline-block;
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.receipt-box {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: left;
  margin-block: 1.5rem;
}

.light-mode .receipt-box {
  background: rgba(0, 0, 0, 0.015);
}

/* Admin Custom Styling */
.admin-order-items-table {
  width: 100%;
  margin-top: 1.5rem;
}

.admin-order-items-table th {
  border-bottom: 2px solid var(--line);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-order-items-table td {
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--line);
}

/* Cart Badge Nav Item */
.cart-nav-btn {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--danger);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}


.navbar-nav .nav-link.cart-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   Home Page Hero Slider Styles
   ========================================================================== */
.hero-slider {
  border-radius: 16px;
  overflow: hidden;
  height: 480px;
  margin-top: 100px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.hero-slide {
  background: linear-gradient(135deg, #06120e 0%, #0c251c 100%);
  display: flex;
  align-items: center;
  position: relative;
  height: 100%;
}

/* Light mode overrides for hero slider */

.light-mode .hero-slide h1 {
  color: #0c1c16 !important;
}

.light-mode .hero-slide p {
  color: #4f665c !important;
}

.light-mode .hero-slide span.text-white {
  color: #0c1c16 !important;
}

.hero-slide .container {
  position: relative;
  z-index: 5;
}

.hero-slider-visual {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slider-visual:hover {
  transform: translateY(-8px) scale(1.02);
}

.hero-pagination.swiper-pagination-bullets {
  bottom: 20px;
}

.hero-pagination .swiper-pagination-bullet {
  background: rgba(255,255,255,0.4);
  opacity: 1;
  width: 10px;
  height: 10px;
  margin: 0 4px !important;
}

.light-mode .hero-pagination .swiper-pagination-bullet {
  background: rgba(12,28,22,0.25) !important;
}

.hero-pagination .swiper-pagination-bullet-active {
  background: var(--green) !important; /* Green dots */
  width: 24px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

@media (max-width: 767px) {
  .hero-slider {
    height: 380px;
    margin-top: 80px;
  }
}

/* ==========================================================================
   Full-Screen Ultra-Wide Responsive Layouts (1400px - 1900px+)
   ========================================================================== */
@media (min-width: 1400px) {
  .container {
    max-width: 1360px !important;
  }
}

@media (min-width: 1600px) {
  .container {
    max-width: 1540px !important;
  }
  .hero-slider {
    height: 520px;
  }
}

@media (min-width: 1900px) {
  .container {
    max-width: 1720px !important;
  }
  .hero-slider {
    height: 560px;
  }
}




