/* NauticForge LiteCart theme - designed for LiteCart 2.7.x */
:root {
  --nf-navy: #061f33;
  --nf-navy-2: #0b2d49;
  --nf-accent: #0869d7;
  --nf-cyan: #12a8e8;
  --nf-text: #101828;
  --nf-muted: #667085;
  --nf-line: #e6ebf0;
  --nf-soft: #f7f9fb;
  --nf-white: #fff;
  --site-background-color: #fff;
  --default-background-color: #f7f9fb;
  --default-text-color: #101828;
  --default-text-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --link-text-color: #061f33;
  --primary-button-background-color: var(--nf-navy);
  --primary-button-background-color-hover: var(--nf-accent);
  --primary-button-background-color-active: #0557b5;
  --success-button-background-color: var(--nf-navy);
  --success-button-background-color-hover: var(--nf-accent);
  --card-border-color: var(--nf-line);
  --footer-background-color: var(--nf-navy);
  --footer-title-color: #fff;
  --footer-text-color: rgba(255,255,255,.72);
  --copyright-background-color: #041827;
  --copyright-text-color: rgba(255,255,255,.66);
}

html { scroll-behavior: smooth; }
body { background: #fff; color: var(--nf-text); }
a { transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.fourteen-forty { max-width: 1500px; }

/* Header */
#site-menu {
  background: #fff;
  border-bottom: 1px solid var(--nf-line);
  box-shadow: 0 1px 0 rgba(6,31,51,.02);
  position: relative;
  z-index: 50;
}
.nf-navbar { background: #fff !important; box-shadow: none !important; }
.nf-navbar-header {
  min-height: 98px;
  display: grid !important;
  grid-template-columns: minmax(240px, 330px) minmax(260px, 1fr) auto;
  gap: 34px;
  align-items: center;
  border: 0 !important;
  padding: 14px 0 !important;
}
.nf-logotype { display: flex !important; align-items: center; min-width: 0; }
.nf-logotype img { width: min(100%, 300px) !important; max-height: 68px !important; height: auto !important; object-fit: contain; }
.nf-search { margin: 0 !important; max-width: 650px; width: 100%; }
.nf-search input {
  min-height: 46px;
  background: #f7f9fb !important;
  border: 1px solid #dfe5eb !important;
  border-radius: 10px !important;
  padding-inline: 16px !important;
  box-shadow: none !important;
}
.nf-search input:focus { border-color: var(--nf-accent) !important; background: #fff !important; }
.nf-quick-access { display: flex; align-items: center; gap: 5px; }
.nf-quick-access > a, .nf-quick-access #cart {
  min-width: 56px;
  min-height: 52px;
  border-radius: 10px;
  padding: 6px 9px !important;
  color: var(--nf-navy) !important;
}
.nf-quick-access > a:hover, .nf-quick-access #cart:hover { background: var(--nf-soft); text-decoration: none; }
.nf-quick-access .navbar-icon { font-size: 22px; }
.nf-quick-access small { color: var(--nf-muted); font-weight: 600; }
.nf-quick-access .badge { background: var(--nf-accent) !important; }

.nf-offcanvas {
  border-top: 1px solid var(--nf-line);
  background: #fff !important;
}
.nf-offcanvas .offcanvas-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  gap: 24px;
}
.nf-offcanvas .navbar-nav { gap: 5px; }
.nf-offcanvas .nav-link {
  color: var(--nf-text) !important;
  font-weight: 650;
  padding: 19px 14px !important;
  border-radius: 7px;
}
.nf-offcanvas .nav-link:hover { color: var(--nf-accent) !important; background: #f7f9fb; }
.nf-offcanvas .dropdown-menu {
  border: 1px solid var(--nf-line);
  border-radius: 10px;
  box-shadow: 0 16px 42px rgba(6,31,51,.12);
  overflow: hidden;
}
.nf-offcanvas .dropdown-menu .nav-link { padding: 10px 15px !important; border-radius: 0; }
.nf-secondary-nav .customer-service .nav-link { color: var(--nf-muted) !important; font-weight: 600; }

/* Hero */
.nf-hero {
  position: relative;
  overflow: hidden;
  min-height: 455px;
  background:
    radial-gradient(circle at 82% 28%, rgba(18,168,232,.30), transparent 28%),
    linear-gradient(104deg, #041827 0%, #061f33 48%, #0a456c 100%);
}
.nf-hero::before {
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  right: -210px;
  top: -380px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 50%;
}
.nf-hero-inner {
  min-height: 455px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  align-items: center;
  position: relative;
  z-index: 2;
  padding-top: 54px;
  padding-bottom: 54px;
}
.nf-hero-copy { max-width: 720px; }
.nf-eyebrow { color: #8dd8ff; font-weight: 800; font-size: 13px; letter-spacing: .18em; margin-bottom: 15px; }
.nf-hero h1 { margin: 0 0 20px; color: #fff; font-size: clamp(42px, 5vw, 64px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
.nf-hero h1 span { display: block; }
.nf-hero p { margin: 0 0 31px; max-width: 625px; color: rgba(255,255,255,.80); font-size: 18px; line-height: 1.65; }
.nf-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.nf-btn { display: inline-flex; min-height: 50px; padding: 0 25px; align-items: center; justify-content: center; border-radius: 7px; font-weight: 800; letter-spacing: .015em; text-decoration: none !important; }
.nf-btn-primary { background: #fff; color: var(--nf-navy) !important; }
.nf-btn-primary:hover { background: #edf7ff; transform: translateY(-1px); }
.nf-btn-outline { color: #fff !important; border: 1px solid rgba(255,255,255,.48); background: rgba(255,255,255,.03); }
.nf-btn-outline:hover { background: rgba(255,255,255,.10); transform: translateY(-1px); }
.nf-hero-mark { display: flex; align-items: center; justify-content: center; opacity: .96; }
.nf-hero-mark img { width: min(330px, 90%); height: auto; filter: drop-shadow(0 26px 45px rgba(0,0,0,.28)); }
.nf-hero-orbit { position: absolute; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; }
.nf-orbit-one { width: 480px; height: 480px; right: 6%; top: -120px; }
.nf-orbit-two { width: 310px; height: 310px; right: 10%; top: -25px; }
.nf-wave { position: absolute; left: 48%; right: -8%; height: 150px; bottom: -95px; border-radius: 50% 0 0 0; transform: rotate(-4deg); background: linear-gradient(180deg, rgba(18,168,232,.20), rgba(255,255,255,.03)); }

/* Three main actions */
.nf-category-strip { background: #fff; border-bottom: 1px solid var(--nf-line); }
.nf-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 0; padding-bottom: 0; }
.nf-category-tile { min-height: 132px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 7px; padding: 18px; text-decoration: none !important; color: var(--nf-navy) !important; border-right: 1px solid var(--nf-line); }
.nf-category-tile:first-child { border-left: 1px solid var(--nf-line); }
.nf-category-tile:hover { background: var(--nf-soft); color: var(--nf-accent) !important; }
.nf-category-icon { font-size: 29px; line-height: 1; }
.nf-category-tile strong { font-size: 16px; }
.nf-category-tile small { color: var(--nf-muted); font-weight: 500; }

/* Home/content */
.nf-home-content { padding-top: 48px; padding-bottom: 54px; }
#content-wrapper { background: #fff; }
#content > .box { margin-bottom: 46px; }
#content > .box > .card-header { border: 0; background: transparent; padding-inline: 0; }
#content > .box > .card-header .card-title { font-size: 28px; letter-spacing: -.02em; font-weight: 800; color: var(--nf-text); }
#content > .box > .card-body { padding: 0; background: transparent; }

/* Category tiles and product cards */
.listing.categories { gap: 15px; }
.listing.categories .category {
  background: #fff;
  border: 1px solid var(--nf-line);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.listing.categories .category:hover { transform: translateY(-3px); border-color: #d5dee8; box-shadow: 0 14px 34px rgba(6,31,51,.08); }
.listing.categories .category .caption { padding: 16px 18px; }
.listing.categories .category .name { color: var(--nf-text); font-weight: 750; font-size: 17px; }
.listing.categories .category .short-description { color: var(--nf-muted); margin-top: 4px; }

.listing.products .product {
  background: #fff;
  border: 1px solid var(--nf-line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.listing.products .product:hover { transform: translateY(-3px); border-color: #d6dee7; box-shadow: 0 16px 35px rgba(6,31,51,.08); }
.listing.products .product .image-wrapper { background: #f9fafb; }
.listing.products .product .info { padding: 15px 16px 18px; }
.listing.products .product .name { color: var(--nf-text); font-weight: 750; font-size: 16px; }
.listing.products .product .manufacturer-name, .listing.products .product .description { color: var(--nf-muted); }
.listing.products .product .price-wrapper { margin-top: 10px; }
.listing.products .product .price, .listing.products .product .campaign-price { color: var(--nf-navy); font-size: 18px; font-weight: 800; }
.listing.products .product .preview { border-radius: 8px; }

/* General store controls */
.card { border-radius: 10px; box-shadow: none; border-color: var(--nf-line); }
.form-control, input[type="text"], input[type="email"], input[type="password"], input[type="search"], select, textarea {
  border-radius: 8px !important;
  border-color: #dce3ea !important;
  box-shadow: none !important;
}
.form-control:focus, input:focus, select:focus, textarea:focus { border-color: var(--nf-accent) !important; }
.btn { border-radius: 7px; font-weight: 700; }
.btn-primary, .btn-success { background: var(--nf-navy) !important; border-color: var(--nf-navy) !important; color: #fff !important; }
.btn-primary:hover, .btn-success:hover { background: var(--nf-accent) !important; border-color: var(--nf-accent) !important; }
.breadcrumbs { border-radius: 8px; }

/* Product page */
#box-product .card { border: 1px solid var(--nf-line); }
#box-product h1.title { color: var(--nf-text); font-weight: 800; letter-spacing: -.02em; }
#box-product .price-wrapper .price, #box-product .campaign-price { color: var(--nf-navy); font-size: 30px; font-weight: 850; }
#box-product .thumbnail { border-radius: 10px; overflow: hidden; border-color: var(--nf-line); }

/* Newsletter */
#box-newsletter-subscribe { border-radius: 12px; background: #f3f8fc; border: 1px solid #e0edf5; padding: 22px; }

/* Footer */
#footer { background: var(--nf-navy) !important; color: rgba(255,255,255,.72) !important; margin-top: 0; padding-top: 52px; padding-bottom: 38px; }
#footer .title { color: #fff !important; font-weight: 750; }
#footer a { color: rgba(255,255,255,.72) !important; }
#footer a:hover { color: #fff !important; }
#copyright { background: #041827 !important; color: rgba(255,255,255,.62) !important; }
#copyright a { color: rgba(255,255,255,.82) !important; }
#scroll-up { color: var(--nf-navy); }

@media (max-width: 991px) {
  .nf-navbar-header { grid-template-columns: minmax(200px, 260px) 1fr auto; gap: 18px; min-height: 82px; }
  .nf-logotype img { max-height: 52px !important; }
  .nf-offcanvas .offcanvas-body { display: block; }
  .nf-hero-inner { grid-template-columns: 1fr 280px; }
  .nf-hero-mark img { width: 250px; }
}

@media (max-width: 767px) {
  .nf-navbar-header { display: flex !important; min-height: 70px; padding: 9px 0 !important; gap: 10px; }
  .nf-logotype { flex: 1; }
  .nf-logotype img { max-width: 190px !important; max-height: 44px !important; }
  .nf-search { display: none !important; }
  .nf-quick-access small, .nf-quick-access .regional-setting { display: none !important; }
  .nf-quick-access > a, .nf-quick-access #cart { min-width: 44px; min-height: 44px; padding: 4px 6px !important; }
  .nf-hero, .nf-hero-inner { min-height: 430px; }
  .nf-hero-inner { display: flex; padding-top: 48px; padding-bottom: 48px; }
  .nf-hero-copy { position: relative; z-index: 3; }
  .nf-hero h1 { font-size: 40px; }
  .nf-hero p { font-size: 16px; max-width: 560px; }
  .nf-hero-mark { position: absolute; right: -85px; bottom: -80px; opacity: .12; }
  .nf-hero-mark img { width: 330px; }
  .nf-category-grid { grid-template-columns: 1fr; }
  .nf-category-tile { min-height: 105px; border-left: 1px solid var(--nf-line); border-bottom: 1px solid var(--nf-line); }
  .nf-home-content { padding-top: 34px; }
}

/* Overrides for LiteCart 2.7's positioned desktop header. */
#site-menu .nf-navbar { margin-top: 0; padding: 0; display: block; }
#site-menu .nf-navbar-header { position: relative; inset: auto; margin-bottom: 0; width: 100%; }
body.scrolling-down #site-menu { top: 0; }
#content-wrapper { margin: 0; }
.nf-navbar-header .nf-logotype img { max-width: 100%; }
.nf-search { order: 0 !important; }
.nf-home-content { scroll-margin-top: 20px; }
.nf-mobile-search { margin: 0 0 18px; width: 100%; }
.nf-mobile-search input { width: 100%; min-height: 44px; }
.nf-skip-link { position: fixed; left: 12px; top: -100px; padding: 12px 18px; background: #fff; color: #061f33; z-index: 1001; border: 2px solid #0869d7; }
.nf-skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--nf-accent); outline-offset: 3px; }
@media (max-width: 991px) {
  .nf-navbar-header { display: flex !important; flex-wrap: wrap; gap: 12px; }
  .nf-navbar-header .nf-logotype { flex: 1; }
  .nf-navbar-header .nf-search { flex-basis: 100%; order: 3 !important; max-width: none; }
  .nf-offcanvas .offcanvas-body { display: block; }
  .nf-offcanvas .nav-link { padding: 13px 14px !important; }
}
@media (max-width: 767px) {
  .nf-navbar-header { flex-wrap: nowrap; }
  .nf-quick-access { gap: 0 !important; }
  .nf-logotype img { width: 180px !important; }
  #header { flex-wrap: wrap; gap: 12px; }
  #header .customer-service { font-size: 12px; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a, .listing.products .product, .listing.categories .category { transition: none; }
  .nf-btn:hover, .listing.products .product:hover, .listing.categories .category:hover { transform: none; }
}

@media (max-width: 767px) { .nf-hero h1 { font-size: clamp(28px, 9vw, 40px); overflow-wrap: anywhere; } .nf-hero-actions { gap: 10px; } .nf-btn { padding-inline: 18px; } }
