/*
 * Majestic Fancy Crackers–inspired theme (navy + red).
 * https://www.majesticcrackers.com/
 */

body.sk-store.mj-theme {
  --mj-navy: #0E2B65;
  --mj-red: #3D65F8;
  --mj-orange: #5D6BF6;
  --mj-amber: #85A7FB;
  --primary: var(--mj-red);
  --secondary: var(--mj-orange);
  --accent: var(--mj-amber);
  --dark: rgb(51, 51, 51);
  --light: #1f2937;
  --surface: #FDFDFD;
  --glass: #FDFDFD;
  --glass-border: #DCE4FC;
  --glass-shadow: 0 10px 40px rgba(14, 43, 101, 0.08);
  --gradient: linear-gradient(135deg, var(--mj-red), var(--mj-orange));
  --dark-gradient: #F6F8FE;
  background: var(--dark-gradient) !important;
  font-family: "Roboto", "Poppins", system-ui, sans-serif;
}

body.sk-store.mj-theme #fireworks-canvas {
  display: none !important;
}

/* ——— Top bar (navy) ——— */
.mj-header-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1102;
  background: var(--mj-navy);
  color: #fff;
  font-size: 0.8125rem;
}

.mj-header-top-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mj-top-info {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.mj-top-info li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mj-top-info a {
  color: #fff;
  text-decoration: none;
}

.mj-top-info a:hover {
  color: var(--mj-orange);
}

.mj-top-info-right {
  opacity: 0.95;
}

@media (max-width: 720px) {
  .mj-header-top-inner {
    justify-content: center;
    text-align: center;
  }

  .mj-top-info {
    justify-content: center;
  }
}

/* ——— Main header ——— */
.mj-main-header {
  position: fixed;
  top: 42px;
  left: 0;
  right: 0;
  z-index: 1100;
  background: #fff;
  box-shadow: 0 4px 20px rgba(1, 12, 58, 0.1);
}

@media (max-width: 720px) {
  .mj-main-header {
    top: 72px;
  }
}

.mj-header-lower {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
}

.mj-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--mj-navy) !important;
  font-weight: 700;
  font-family: Montserrat, Poppins, sans-serif;
}

.mj-logo img {
  height: 48px;
  width: auto;
}

.mj-logo-text {
  font-size: 1.05rem;
  line-height: 1.2;
  max-width: 140px;
}

@media (min-width: 480px) {
  .mj-logo-text {
    max-width: none;
    font-size: 1.15rem;
  }
}

.mj-desktop-nav {
  display: none;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.mj-desktop-nav a {
  color: var(--mj-navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.mj-desktop-nav a:hover,
.mj-desktop-nav a.is-active {
  color: var(--mj-red);
  border-bottom-color: var(--mj-red);
}

@media (min-width: 992px) {
  .mj-desktop-nav {
    display: flex;
  }

  .mj-header-lower {
    grid-template-columns: auto 1fr auto;
  }

  .mj-nav-toggle {
    display: none !important;
  }
}

.mj-nav-toggle {
  color: var(--mj-navy) !important;
  font-size: 1.5rem !important;
  cursor: pointer;
}

body.sk-store.mj-theme header:not(.mj-main-header) {
  display: none;
}

body.sk-store.mj-theme .mj-main-header ~ header {
  display: none;
}

body.sk-store.mj-theme .container {
  padding-top: 128px !important;
}

@media (max-width: 720px) {
  body.sk-store.mj-theme .container {
    padding-top: 158px !important;
  }
}

@media (min-width: 992px) {
  body.sk-store.mj-theme .container {
    padding-top: 118px !important;
  }
}

body.sk-store.mj-theme .sidebar.mj-sidebar {
  padding-top: 120px !important;
  background: var(--mj-navy) !important;
  border-right: none !important;
}

body.sk-store.mj-theme .sidebar.mj-sidebar h3 {
  color: var(--mj-orange) !important;
}

body.sk-store.mj-theme .sidebar.mj-sidebar ul li a {
  color: rgba(255, 255, 255, 0.9) !important;
}

body.sk-store.mj-theme .sidebar.mj-sidebar ul li a:hover,
body.sk-store.mj-theme .sidebar.mj-sidebar ul li a.active {
  background: rgba(223, 3, 3, 0.35) !important;
  color: #fff !important;
}

/* ——— Hero slider block ——— */
.mj-slider-hero {
  position: relative;
  margin: 0 auto 32px;
  max-width: 1200px;
  border-radius: 8px;
  overflow: hidden;
  min-height: 340px;
  background: url("/bg.jpg") center/cover no-repeat;
  box-shadow: var(--glass-shadow);
}

.mj-slider-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(1, 12, 58, 0.92) 0%, rgba(1, 12, 58, 0.75) 45%, rgba(223, 3, 3, 0.35) 100%);
}

.mj-slider-content {
  position: relative;
  z-index: 1;
  padding: 48px 28px;
  max-width: 640px;
  color: #fff;
}

.mj-slider-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--mj-orange);
  font-weight: 600;
  margin-bottom: 12px;
}

.mj-slider-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-family: Montserrat, sans-serif;
  margin-bottom: 16px;
  line-height: 1.2;
}

.mj-slider-lead {
  font-size: 1rem;
  line-height: 1.65;
  opacity: 0.92;
  margin-bottom: 24px;
}

.mj-slider-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mj-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.mj-btn-primary {
  background: var(--mj-red);
  color: #fff;
  box-shadow: 0 6px 20px rgba(223, 3, 3, 0.35);
}

.mj-btn-primary:hover {
  transform: translateY(-2px);
  background: #3149C2;
}

.mj-btn-outline {
  border: 2px solid #fff;
  color: #fff;
}

.mj-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ——— About + services ——— */
.mj-about-block,
.mj-services,
.mj-product-highlights,
.mj-why {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 16px;
}

.mj-about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--glass-shadow);
}

@media (min-width: 768px) {
  .mj-about-inner {
    grid-template-columns: 1.1fr 1fr;
  }
}

.mj-about-text h2 {
  color: var(--mj-navy);
  font-family: Montserrat, sans-serif;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.mj-about-text p {
  color: #555;
  line-height: 1.65;
}

.mj-about-image img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  max-height: 280px;
}

.mj-section-head {
  text-align: center;
  margin-bottom: 28px;
}

.mj-section-head h2 {
  color: var(--mj-navy);
  font-family: Montserrat, sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin-bottom: 8px;
}

.mj-section-head p {
  color: #666;
  max-width: 560px;
  margin: 0 auto;
}

.mj-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.mj-service-card {
  background: #fff;
  border-radius: 8px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--glass-shadow);
  border-top: 4px solid var(--mj-red);
  transition: transform 0.25s;
}

.mj-service-card:hover {
  transform: translateY(-6px);
}

.mj-service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(223, 3, 3, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--mj-red);
}

.mj-service-card h3 {
  color: var(--mj-navy);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.mj-service-card p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.55;
}

.mj-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.mj-highlight-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  margin: 0;
  text-align: center;
}

.mj-highlight-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.mj-highlight-card figcaption {
  padding: 12px;
  font-weight: 600;
  color: var(--mj-navy);
  font-size: 0.85rem;
}

.mj-why {
  background: var(--mj-navy);
  border-radius: 8px;
  padding: 36px 28px;
  color: #fff;
}

.mj-why-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.mj-why h2 {
  font-family: Montserrat, sans-serif;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.mj-why ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
  display: inline-block;
}

.mj-why li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}

.mj-why li i {
  color: var(--mj-orange);
  margin-top: 3px;
}

/* ——— Shop area overrides ——— */
body.sk-store.mj-theme .hero {
  display: none !important;
}

body.sk-store.mj-theme .sk-topbar {
  display: none;
}

body.sk-store.mj-theme .search-container {
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

body.sk-store.mj-theme .category-nav {
  background: #fff !important;
  border-radius: 8px !important;
  border: 1px solid var(--glass-border) !important;
}

body.sk-store.mj-theme .category-btn.active {
  background: var(--mj-red) !important;
  color: #fff !important;
  border-color: var(--mj-red) !important;
}

body.sk-store.mj-theme .section-title {
  color: var(--mj-navy) !important;
  font-family: Montserrat, sans-serif;
}

body.sk-store.mj-theme .product {
  background: #fff !important;
  border-radius: 8px !important;
}

body.sk-store.mj-theme .product-title {
  color: var(--mj-navy) !important;
}

body.sk-store.mj-theme .product-price {
  color: var(--mj-red) !important;
}

body.sk-store.mj-theme .category-group-header {
  border-color: var(--mj-red) !important;
}

body.sk-store.mj-theme .category-group-header h3 {
  color: var(--mj-red) !important;
}

body.sk-store.mj-theme .sk-testimonials h2 {
  color: var(--mj-navy);
  font-family: Montserrat, sans-serif;
}

body.sk-store.mj-theme .sk-testimonial-card {
  border-top: 3px solid var(--mj-red);
}

body.sk-store.mj-theme .sk-contact-strip {
  display: none;
}

body.sk-store.mj-theme footer:not(.mj-footer) {
  display: none;
}

/* ——— Footer ——— */
.mj-footer {
  background: var(--mj-navy);
  color: rgba(255, 255, 255, 0.85);
  margin-top: 48px;
}

.mj-footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.mj-footer-logo {
  height: 56px;
  margin-bottom: 12px;
}

.mj-footer-col h4 {
  color: var(--mj-orange);
  font-size: 1.05rem;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mj-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mj-footer-col li {
  margin-bottom: 8px;
}

.mj-footer-col a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
}

.mj-footer-col a:hover {
  color: var(--mj-orange);
}

.mj-footer-contact i {
  width: 20px;
  color: var(--mj-orange);
}

.mj-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  padding: 16px;
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.15);
}

/* ——— Inner pages (about / safety) ——— */
.mj-page-banner {
  background: linear-gradient(135deg, var(--mj-navy), #3149C2);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  margin: -20px -16px 32px;
  border-radius: 0 0 12px 12px;
}

.mj-page-banner h1 {
  font-family: Montserrat, sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 8px;
}

.mj-page-banner p {
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto;
}

body.sk-store.mj-theme .qo-nav {
  top: 42px;
  background: #fff !important;
  border-bottom: 3px solid var(--mj-red) !important;
}

body.sk-store.mj-theme .qo-logo span {
  background: none;
  color: var(--mj-red);
  -webkit-text-fill-color: var(--mj-red);
}

body.sk-store.mj-theme .qo-wrap {
  max-width: 1200px;
}

@media (max-width: 720px) {
  body.sk-store.mj-theme .qo-nav {
    top: 72px;
  }
}