:root {
  --bg: #f4f6f9;
  --bg-alt: #ebeff4;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --ink: #13283b;
  --ink-soft: #516579;
  --brand-900: #0b1f33;
  --brand-700: #163e62;
  --brand-500: #246ea4;
  --accent: #f4a20e;
  --accent-strong: #dc8d00;
  --line: #d8e1ea;
  --white: #ffffff;
  --shadow-sm: 0 10px 26px rgba(16, 36, 56, 0.09);
  --shadow-lg: 0 24px 52px rgba(10, 33, 56, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  line-height: 1.65;
  overflow-x: clip;
  background: radial-gradient(1300px 700px at 100% -8%, #d8e9f9 0%, rgba(216, 233, 249, 0) 60%),
    radial-gradient(1200px 680px at -14% 18%, #f6dfaf 0%, rgba(246, 223, 175, 0) 55%),
    linear-gradient(170deg, var(--bg), #f9fbfe 44%, var(--bg-alt));
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 90;
  background: rgba(255, 255, 255, 0.2);
}

.scroll-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #f4a20e, #ffd98d 42%, #4d93c8 100%);
  box-shadow: 0 0 14px rgba(244, 162, 14, 0.45);
  transition: width 0.12s linear;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(12px);
  background: linear-gradient(110deg, rgba(11, 31, 51, 0.94), rgba(22, 62, 98, 0.94));
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 24px rgba(3, 15, 25, 0.26);
}

.home-section-nav {
  position: sticky;
  top: 80px;
  z-index: 55;
  background: rgba(246, 249, 252, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #dbe5ee;
}

.home-section-nav-wrap {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.home-section-nav-wrap::-webkit-scrollbar {
  display: none;
}

.section-link {
  text-decoration: none;
  color: #37526b;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.section-link:hover,
.section-link.active {
  color: #102b42;
  background: linear-gradient(130deg, #ffe0a0, #f4b13a);
  border-color: rgba(223, 151, 26, 0.55);
}

[data-section-track] {
  scroll-margin-top: 150px;
}

.nav-wrap {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 144px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 4px;
  object-fit: contain;
  background: var(--white);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}

.brand-text {
  display: none;
  margin: 0;
  color: var(--white);
  font-family: "Sora", sans-serif;
  font-size: 1.06rem;
  letter-spacing: 0.15em;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.93);
  font-size: 0.97rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 9px 15px;
  transition: transform 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: #102538;
  background: linear-gradient(130deg, #ffd486, #f4a20e);
  transform: translateY(-1px);
}

.nav-toggle,
.nav-toggle-label {
  display: none;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-family: "Sora", sans-serif;
}

.hero-slider {
  position: relative;
  overflow: hidden;
}

.slides {
  position: relative;
  min-height: clamp(460px, 73vh, 700px);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  background-size: cover;
  background-position: center;
}

.slide.active {
  opacity: 1;
}

.slide-content {
  min-height: clamp(460px, 73vh, 700px);
  display: grid;
  align-content: center;
  gap: 12px;
  width: min(760px, 96%);
  color: var(--white);
  animation: reveal 0.8s ease;
}

.kicker {
  margin: 0;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: #ffe4ac;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.81rem;
}

.kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: #f4a20e;
}

.kicker.dark {
  color: var(--brand-700);
}

.slide-content h1,
.slide-content h2 {
  font-size: clamp(2rem, 5vw, 3.9rem);
}

.slide-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  max-width: 62ch;
}

.btn {
  border: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 12px;
  font-weight: 700;
  padding: 12px 22px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.05);
}

.btn-primary {
  color: #0f2334;
  background: linear-gradient(130deg, #ffd384, #f4a20e 55%, #de8e00);
  box-shadow: 0 14px 24px rgba(219, 144, 0, 0.28);
}

.btn-accent {
  width: 100%;
  color: var(--white);
  background: linear-gradient(130deg, #205986, #153b5d);
  box-shadow: 0 12px 22px rgba(18, 53, 82, 0.25);
}

.slider-controls {
  position: absolute;
  inset: auto 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 4;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.23);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.dots {
  display: flex;
  align-items: center;
  gap: 9px;
}

.dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.45);
}

.dot.active {
  background: #ffd079;
  transform: scale(1.15);
}

.section {
  padding: 78px 0;
}

.section-head {
  margin-bottom: 30px;
}

.section-head h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
}

.section-alt {
  background: linear-gradient(178deg, #edf2f7, #f9fbfd);
}

.features-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card,
.product-card,
.category-card,
.mini-product-card,
.step-card,
.two-col article,
.faq-list details {
  background: linear-gradient(180deg, var(--surface), var(--surface-soft));
  border: 1px solid #e4ebf1;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.feature-card,
.step-card {
  padding: 24px;
}

.feature-card h3,
.step-card h3 {
  margin-bottom: 8px;
  font-size: 1.28rem;
}

.feature-card p,
.step-card p,
.faq-list p,
.category-body p,
.mini-product-card p,
.testimonial-card p {
  margin: 0;
  color: var(--ink-soft);
}

.stats-strip {
  padding: 34px 0;
  background: linear-gradient(120deg, #0b1f33, #164064);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  color: var(--white);
  text-align: center;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.09);
}

.stat-card h3 {
  font-size: 2rem;
}

.stat-card p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.category-grid,
.mini-product-grid,
.steps-grid {
  display: grid;
  gap: 20px;
}

.category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card,
.mini-product-card,
.product-card {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover,
.mini-product-card:hover,
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.category-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.category-body {
  padding: 18px;
}

.category-body h3 {
  margin-bottom: 8px;
  font-size: 1.33rem;
}

.category-body p {
  margin: 0 0 12px;
}

.mini-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mini-product-card {
  padding-bottom: 16px;
}

.mini-product-card img {
  width: 100%;
  height: 186px;
  object-fit: cover;
}

.mini-product-card h3 {
  padding: 14px 14px 8px;
  font-size: 1.2rem;
}

.mini-product-card p {
  padding: 0 14px 12px;
}

.mini-product-card .btn {
  margin: 0 14px;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card span {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #0f2940;
  font-weight: 700;
  background: linear-gradient(130deg, #ffd68e, #f1a212);
}

.testimonials-wrap {
  gap: 20px;
}

.testimonial-card {
  padding: 28px;
  border-radius: 18px;
  color: var(--white);
  background: linear-gradient(130deg, #0d2942, #1a4d74) !important;
  border: none !important;
  box-shadow: var(--shadow-lg);
}

.testimonial-card p {
  color: rgba(255, 255, 255, 0.9);
  margin: 14px 0;
}

.testimonial-card h3 {
  font-size: 1.14rem;
}

.testimonial-card small {
  color: rgba(255, 255, 255, 0.8);
}

.testimonial-card h2 {
  color: #fff;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 15px 16px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin-top: 10px;
}

.home-cta {
  padding: 20px 0 78px;
}

.cta-box {
  text-align: center;
  padding: 36px;
  border-radius: 20px;
  color: var(--white);
  background: linear-gradient(120deg, #102f4a, #1d5480);
  box-shadow: var(--shadow-lg);
}

.cta-box p {
  margin: 10px auto 0;
  max-width: 68ch;
  color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.cta-actions .btn {
  width: auto;
}

.page-banner {
  color: var(--white);
  background-size: cover;
  background-position: center;
}

.page-banner .container {
  min-height: 316px;
  display: grid;
  align-content: center;
  gap: 12px;
}

.page-banner h1 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
}

.page-banner p {
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  margin: 0;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.two-col article {
  padding: 25px;
}

.clean-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--ink-soft);
}

.product-card {
  padding-bottom: 16px;
}

.product-card img {
  width: 100%;
  height: 225px;
  object-fit: cover;
}

.product-card h3 {
  font-size: 1.28rem;
  padding: 15px 16px 8px;
}

.price-tag {
  margin: 0;
  padding: 0 16px 12px;
  color: var(--brand-700);
  font-weight: 700;
  font-size: 1.1rem;
}

.btn-compact {
  width: auto;
  min-width: 126px;
  padding: 10px 16px;
}

.product-card .btn {
  margin: 0 16px;
}

.contact-form,
.wa-form {
  display: grid;
  gap: 10px;
}

.contact-form label,
.wa-form label {
  font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.wa-form input,
.wa-form textarea {
  width: 100%;
  border: 1px solid #cad8e3;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(36, 110, 164, 0.24);
  border-color: var(--brand-500);
}

.site-footer {
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, #091b2c, #153b5d);
}

.footer-wrap {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.wa-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
}

.mobile-sticky-cta {
  display: none;
}

.wa-toggle {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 700;
  padding: 12px 18px;
  background: linear-gradient(140deg, #1fb45c, #169749);
  box-shadow: 0 14px 28px rgba(9, 60, 26, 0.33);
}

.wa-panel {
  width: min(340px, 90vw);
  margin-top: 10px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #d9e3ec;
  box-shadow: 0 14px 36px rgba(8, 30, 46, 0.26);
  padding: 16px;
  display: none;
}

.wa-widget.open .wa-panel {
  display: block;
}

.wa-close {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: #edf3f8;
  float: right;
  cursor: pointer;
}

.wa-panel h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.wa-panel p {
  margin: 0 0 12px;
  color: var(--ink-soft);
}

.wa-form input:focus,
.wa-form textarea:focus {
  outline: 2px solid rgba(31, 180, 92, 0.24);
  border-color: #1fb45c;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .features-grid,
  .product-grid,
  .category-grid,
  .mini-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .page-banner .container {
    min-height: 280px;
  }
}

@media (max-width: 760px) {
  .home-section-nav {
    top: 80px;
  }

  .home-section-nav-wrap {
    min-height: 46px;
    gap: 8px;
  }

  .section-link {
    font-size: 0.78rem;
    padding: 7px 10px;
  }

  [data-section-track] {
    scroll-margin-top: 136px;
  }

  .nav-toggle-label {
    width: 42px;
    height: 36px;
    display: grid;
    align-content: center;
    gap: 5px;
    cursor: pointer;
  }

  .nav-toggle-label span {
    height: 3px;
    border-radius: 5px;
    background: #e8f4ff;
  }

  .site-nav {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    padding: 14px 4%;
    gap: 7px;
    flex-direction: column;
    align-items: flex-start;
    background: linear-gradient(160deg, #102f4a, #163f63);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    transition: 0.25s ease;
  }

  .site-nav a {
    width: 100%;
  }

  .nav-toggle:checked ~ .site-nav {
    transform: scaleY(1);
    opacity: 1;
  }

  .slide-content {
    width: 100%;
  }

  .features-grid,
  .product-grid,
  .stats-grid,
  .category-grid,
  .mini-product-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .cta-box {
    padding: 26px;
  }

  .page-banner .container {
    min-height: 240px;
  }

  .product-card img,
  .category-card img,
  .mini-product-card img {
    height: 200px;
  }

  .slider-controls {
    inset: auto 0 14px;
  }

  .wa-widget {
    right: 10px;
    bottom: 86px;
  }

  .mobile-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(9, 30, 47, 0.96);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 -6px 20px rgba(7, 21, 34, 0.24);
  }

  .mobile-sticky-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
  }

  .mobile-sticky-cta .btn {
    white-space: nowrap;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.83rem;
  }

  body.home-animated {
    padding-bottom: 74px;
  }

  .scroll-progress {
    height: 3px;
  }
}

@media (max-width: 460px) {
  .nav-wrap {
    gap: 10px;
    min-height: 74px;
  }

  .brand-logo {
    width: 128px;
    height: 48px;
  }

  .brand-text {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
  }

  .home-section-nav {
    top: 74px;
  }

  .site-nav {
    top: 74px;
  }

  .mobile-sticky-cta {
    padding: 9px 10px;
  }

  .mobile-sticky-cta p {
    font-size: 0.78rem;
  }

  .mobile-sticky-cta .btn {
    padding: 9px 12px;
    font-size: 0.78rem;
  }
}

.trust-ticker {
  border-top: 1px solid #dce6ef;
  border-bottom: 1px solid #dce6ef;
  background: linear-gradient(130deg, #f6f9fc, #ecf2f7);
}

.trust-ticker-grid {
  min-height: 72px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
}

.trust-ticker-grid p {
  margin: 0;
  text-align: center;
  color: #27425a;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.home-animated .hero-slider::before,
.home-animated .hero-slider::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
  width: clamp(180px, 22vw, 300px);
  height: clamp(180px, 22vw, 300px);
  border-radius: 50%;
  filter: blur(6px);
  opacity: 0.28;
}

.home-animated .hero-slider::before {
  top: 12%;
  left: -80px;
  background: radial-gradient(circle, #f6c96a 0%, rgba(246, 201, 106, 0) 72%);
  animation: driftGlow 9s ease-in-out infinite;
}

.home-animated .hero-slider::after {
  right: -90px;
  bottom: 14%;
  background: radial-gradient(circle, #5ea6da 0%, rgba(94, 166, 218, 0) 72%);
  animation: driftGlowReverse 10s ease-in-out infinite;
}

.home-animated .slide.active .slide-content > * {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeLift 0.65s ease forwards;
}

.home-animated .slide.active .slide-content > *:nth-child(1) {
  animation-delay: 0.05s;
}

.home-animated .slide.active .slide-content > *:nth-child(2) {
  animation-delay: 0.13s;
}

.home-animated .slide.active .slide-content > *:nth-child(3) {
  animation-delay: 0.2s;
}

.home-animated .slide.active .slide-content > *:nth-child(4) {
  animation-delay: 0.28s;
}

.home-animated .slide.active .slide-content > *:nth-child(5) {
  animation-delay: 0.35s;
}

.home-reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.99);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--reveal-delay, 0s);
}

.home-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.home-animated .stat-card {
  animation: floatCard 7s ease-in-out infinite;
}

.home-animated .stat-card:nth-child(2) {
  animation-delay: 0.45s;
}

.home-animated .stat-card:nth-child(3) {
  animation-delay: 0.9s;
}

.home-animated .stat-card:nth-child(4) {
  animation-delay: 1.35s;
}

.home-animated .btn-primary,
.home-animated .btn-accent {
  position: relative;
  overflow: hidden;
}

.home-animated .btn-primary::after,
.home-animated .btn-accent::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 255, 255, 0) 80%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
}

.home-animated .btn-primary:hover::after,
.home-animated .btn-accent:hover::after {
  transform: translateX(130%);
}

@keyframes fadeLift {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes driftGlow {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(18px, -16px);
  }

  100% {
    transform: translate(0, 0);
  }
}

@keyframes driftGlowReverse {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-18px, 14px);
  }

  100% {
    transform: translate(0, 0);
  }
}

@keyframes floatCard {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }

  100% {
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .trust-ticker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px 0;
  }
}

@media (max-width: 760px) {
  .trust-ticker-grid {
    grid-template-columns: 1fr;
    gap: 6px;
    min-height: auto;
    padding: 12px 0;
  }

  .home-animated .hero-slider::before,
  .home-animated .hero-slider::after {
    opacity: 0.2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-animated .hero-slider::before,
  .home-animated .hero-slider::after,
  .home-animated .stat-card,
  .home-animated .slide.active .slide-content > *,
  .home-reveal {
    animation: none;
    transition: none;
    transform: none;
    opacity: 1;
  }
}

/* ═══ Legacy variable aliases for admin inline styles ═══ */
:root {
  --jj-bg: #0b1f33;
  --jj-bg-soft: #163e62;
  --jj-gold: #f4a20e;
  --jj-gold-deep: #dc8d00;
  --jj-ivory: #f6f0e4;
  --jj-ink: #13283b;
}

/* ═══ Admin Panel ═══ */
.admin-shell { min-height: calc(100vh - 172px); }
.admin-sidebar {
  width: 235px; min-width: 235px;
  background: var(--brand-900);
  border-right: 1px solid rgba(244,162,14,0.35);
  padding: 1rem; color: #fff;
}
.admin-sidebar h6 { color: var(--accent); }
.admin-link {
  display: block; color: #e8f4ff; text-decoration: none;
  border: 1px solid rgba(244,162,14,0.35); border-radius: 10px;
  padding: .5rem .7rem; margin-bottom: .55rem; transition: background .2s;
}
.admin-link:hover { background: rgba(244,162,14,0.15); color: #fff; }

/* ═══ Content Card & Section Title (admin compat) ═══ */
.content-card {
  background: rgba(255,255,255,0.95); color: var(--ink);
  border-radius: 18px; border: 1px solid #e4ebf1;
  box-shadow: var(--shadow-sm);
}
.section-title {
  color: var(--brand-700); font-family: "Sora", sans-serif;
  font-size: clamp(1.75rem,2.8vw,2.5rem); font-weight: 700;
  line-height: 1.16; letter-spacing: -0.02em; margin: 0;
}

/* ═══ Theme Buttons ═══ */
.btn-gold {
  background: linear-gradient(135deg, var(--accent), #ffd384);
  color: #1e201e; border: 0; font-weight: 700; border-radius: 12px;
  transition: transform .2s, filter .2s;
}
.btn-gold:hover { transform: translateY(-2px); filter: saturate(1.1); color: #1e201e; }

.btn-outline-ivory {
  border: 1px solid rgba(255,255,255,0.65); color: rgba(255,255,255,0.95);
  font-weight: 600; border-radius: 12px; background: transparent;
}
.btn-outline-ivory:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ═══ Cart Badge ═══ */
.cart-link { position: relative; }
.cart-badge {
  position: absolute; top: -2px; right: -8px;
  min-width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); color: #0f2334;
  font-size: .68rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ═══ Cart Page ═══ */
.cart-wrapper { max-width: 800px; margin: 0 auto; }
.cart-item-card {
  background: var(--surface); border-radius: 16px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden;
}
.cart-thumb { width: 90px; height: 90px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.qty-btn {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid rgba(244,162,14,0.6); background: transparent;
  color: var(--accent); font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s;
}
.qty-btn:hover { background: var(--accent); color: #0f2334; }
.cart-summary {
  background: var(--surface); border-radius: 16px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}

/* ═══ Checkout ═══ */
.checkout-wrapper { max-width: 860px; margin: 0 auto; }
.checkout-card {
  background: var(--surface); border-radius: 16px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.checkout-card .form-control, .checkout-card .form-select {
  font-size: 15px; border-radius: 10px; border: 1.5px solid #cad8e3;
  padding: .65rem 1rem; transition: border-color .2s;
}
.checkout-card .form-control:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(244,162,14,0.15);
}
.checkout-card label {
  font-weight: 600; font-size: .85rem; color: var(--ink-soft); margin-bottom: .3rem;
}
.section-badge {
  display: inline-block;
  background: linear-gradient(130deg, var(--bg), var(--bg-alt));
  color: var(--brand-700); border-radius: 8px; padding: .25rem .75rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .5px;
  margin-bottom: .75rem; text-transform: uppercase;
}
.payment-method-card {
  border: 2px solid var(--line); border-radius: 12px;
  padding: 1rem; cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.payment-method-card.selected {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(244,162,14,0.2);
}
.qr-image {
  max-width: 240px; border-radius: 14px;
  border: 2px solid var(--line); box-shadow: var(--shadow-sm);
}
.pay-btn {
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  border: none; font-weight: 700; border-radius: 12px;
  padding: 1rem 2rem; font-size: 1.05rem; width: 100%;
  color: #fff; transition: opacity .2s;
}
.pay-btn:hover { opacity: .9; }
.pay-btn:disabled { opacity: .55; cursor: not-allowed; }
.cod-btn {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  border: none; font-weight: 700; border-radius: 12px;
  padding: 1rem 2rem; font-size: 1.05rem; width: 100%; color: #0f2334;
}

/* ═══ Order Success ═══ */
.success-wrapper { max-width: 640px; margin: 0 auto; }
.success-icon {
  width: 90px; height: 90px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), #2a8fcc);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; box-shadow: 0 8px 30px rgba(36,110,164,0.35);
}
.order-detail-card {
  background: var(--surface); border-radius: 16px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.order-row {
  display: flex; justify-content: space-between;
  padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: .9rem;
}
.order-row:last-child { border-bottom: none; }
.badge-status-paid { background:#d1fae5; color:#065f46; padding:.3rem .8rem; border-radius:20px; font-size:.78rem; font-weight:700; }
.badge-status-cod  { background:#fef3c7; color:#92400e; padding:.3rem .8rem; border-radius:20px; font-size:.78rem; font-weight:700; }
.badge-status-qr   { background:#dbeafe; color:#1e40af; padding:.3rem .8rem; border-radius:20px; font-size:.78rem; font-weight:700; }

/* ═══ Product Image (admin/dynamic) ═══ */
.product-image {
  height: 240px; object-fit: contain; width: 100%;
  background: #f8f5ee; padding: 6px;
}

/* ═══ Social / Footer compat ═══ */
.social-mini, .social-pill {
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; color: rgba(255,255,255,0.9);
  border: 1px solid rgba(244,162,14,0.55); transition: transform .2s, background .2s;
}
.social-mini:hover, .social-pill:hover { transform: translateY(-2px); background: rgba(244,162,14,0.2); color: #fff; }
.footer-logo { width: 144px; height: 54px; flex-shrink: 0; border-radius: 4px; object-fit: contain; background: var(--white); }
.footer-link { color: rgba(255,255,255,0.85); text-decoration: none; margin-bottom: .2rem; }
.footer-link:hover { color: #fff; }
.footer-title { display: none; color: var(--accent); font-family: "Sora", sans-serif; }
.copyright { background: rgba(0,0,0,0.2); color: rgba(255,255,255,0.75); }

/* ═══ Trust Strip ═══ */
.trust-strip { background: linear-gradient(130deg, rgba(11,31,51,0.06), rgba(22,62,98,0.06)); border-radius: 14px; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.trust-item i { font-size: 1.3rem; color: var(--brand-500); }

/* ═══ Map ═══ */
.map-embed iframe { width: 100%; border: 0; border-radius: 12px; height: 320px; }

/* ═══ Bootstrap Alert override ═══ */
.alert { border-radius: 12px; }
