/* Primary: #0A6C74 (deep teal)
Secondary: #F17F21 (your orange)
Highlight: #F8D8BF (soft warm tint)
Background: #FAFAF8
Text: #2A2A2A */


#page {
  background-color: #FAFAF8;
}
body {
  color:#2A2A2A;
}

/* Overall page framing */
.nsmc-store-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  margin-top: 4rem;
}

.nsmc-store-hero h1,
.nsmc-shell h1,
.nsmc-shell h2 {
  text-shadow: none;
}

/* Hero */
.nsmc-store-hero {
  /* border: rgb(241, 127, 33) solid 4px; */
  padding: 1rem;
  /* background-color: #F17F21; */
  background-color: #F2F0EC;
  border-radius: .5rem .5rem 0 0;
  /* padding: 2rem 0; */
  border-bottom: 1px solid #E4E1DB;
}

.nsmc-store-hero-inner {
  text-align: left;
}

.nsmc-store-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  opacity: 0.8;
  margin-bottom: 0.25rem;
  padding-top:4px;
}

.nsmc-store-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 0.0rem;
}
.nsmc-store-tagline {
  font-size: calc(1rem + .9vw);
  font-family: arial;
  /* text-align: center; */
}

.nsmc-store-subtitle {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  position:relative;
}

.nsmc-store-jump {
    text-align: center;
    margin: 1rem 0 1rem;
}

.nsmc-store-jump #nsmc-quickfix-jump {
    display: inline-block;
    min-width: 260px; 
    max-width: 100%;
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
}

.nsmc-store-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  font-size: 0.9rem;
  opacity: 0.95;
  margin-bottom: 0.75rem;
}

.nsmc-store-meta-item i {
  margin-right: 0.35rem;
}

.nsmc-store-intro p:last-child {
  margin-bottom: 0;
}

/* Grid wrapper */
.nsmc-store-grid-wrap {
  /* reserved for future use */
}

.nsmc-store-grid-inner {
  /* Market Cards handles actual card layout */
}

/* ============================
 Market Cards Override
 ============================ */

[data-nsmc] .package-card {
  border-radius: 0 !important;
  
}


[data-nsmc] .package-card .card-header {
    background: rgb(255, 255, 255);
    /* color:white; */
    border: #E4E1DB solid 1px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: 4px solid #0A6C74;
}

[data-nsmc] .package-card:hover .card-header {
    background: rgb(255, 255, 255) !important;
    color: #2A2A2A
}

[data-nsmc] .package-card:hover .card-header h2 {
    background: rgb(255, 255, 255) !important;
    color: #0A6C74
}

[data-nsmc] .package-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: #0A6C74;
}



.nsmc-store-toolbar {
  position: sticky;
  top: 0;                /* where it sticks */
  z-index: 50;           /* above cards, below nav if needed */
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  background: #FAFAF8;   /* or your store background color */
  /* border-bottom: 1px solid rgba(0,0,0,0.06); */
}

.nsmc-store-toolbar-left select {
    min-width: 250px;
}
/* Left + right alignment */
.nsmc-store-toolbar-left {
  display: flex;
  align-items: center;
}

.nsmc-store-toolbar-right {
  display: flex;
  align-items: center;
}

/* Make the select look decent */
.nsmc-store-jump select#nsmc-quickfix-jump {
  min-width: 230px;
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
}
/* Mobile: stack vertically */
@media (max-width: 600px) {
    .nsmc-store-toolbar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .nsmc-store-toolbar-right {
        text-align: right;
    }
}

.mc-store-add-to-cart.btn.btn-primary {
  background-color: #0A6C74;
  border-color: #0A6C74;
  color: #fff;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.mc-store-add-to-cart.btn.btn-primary:hover,
.mc-store-add-to-cart.btn.btn-primary:focus {
  background-color: #06454A;
  border-color: #06454A;
  text-decoration: none;
}

/* Default Add to Cart button (already exists, but just to be sure) */
.mc-store-add-to-cart.btn.btn-primary {
  font-weight: 600;
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* When the Quick Fix is already in the cart */
.mc-store-add-to-cart[data-in-cart="1"] {
  background-color: transparent;
  color: #0A6C74;
  border-color: #0A6C74;
  box-shadow: none;
}

.mc-store-add-to-cart[data-in-cart="1"]:hover,
.mc-store-add-to-cart[data-in-cart="1"]:focus {
  background-color: #0A6C74;
  color: #fff;
  border-color: #0A6C74;
  text-decoration: none;
}

.mc-store-more-info-link {
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  color: #444;
}

.mc-store-more-info-link:hover {
  color: #0A6C74;
}



.nsmc-fine-print {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.4;
  margin-top: 2rem;
}

/* ============================
   Quick Fix Store – Shared Layout
   ============================ */

.nsmc-shell {
  max-width: 1200px;
  padding: 1rem;
  padding-top:0;
}

.nsmc-shell .nsmc-back-link {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.nsmc-shell .nsmc-back-link a {
  text-decoration: none;
  opacity: 0.8;
}

.nsmc-shell .nsmc-back-link a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ============================
   Quick Fix Store – Single Product
   ============================ */

/* If you wrap the product page in .nsmc-shell, this will apply */
.nsmc-shell .mc-single-product {
  /* margin-top: 4rem; */
}

.mc-single-hero h2 {
  text-shadow: none;
}

.mc-single-edit-link {
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.mc-single-edit-link a {
  text-decoration: none;
  opacity: 0.8;
}

.mc-single-edit-link a:hover {
  opacity: 1;
  text-decoration: underline;
}

.mc-quickfix-callout {
  margin-top: 4rem;
  padding: 0.75rem 1rem;
  background: #f8f8f8;
  border-top: 4px solid #444;
  border-bottom: 4px solid #444;
  font-size: 0.9rem;
  line-height: 1.4;
  width: 60%;
  float: right;
}

/* Optional: make the product callout full-width on small screens */
@media (max-width: 768px) {
  .mc-quickfix-callout {
    width: 100%;
    float: none;
  }
}

/* ============================
   Quick Fix Store – Intake
   ============================ */

.nsmc-intake-wrap {
  max-width: 1100px;
  margin: 1rem auto 4rem;
}

.nsmc-intake-product-summary {
  padding: 1rem 1.25rem;
  background: #f5f5f5;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.nsmc-intake-product-summary h2 {
  margin: 0 0 .25rem;
}

.nsmc-intake-form label {
  font-weight: 600;
}

.nsmc-intake-form .form-control,
.nsmc-intake-form select,
.nsmc-intake-form textarea {
  width: 100%;
  max-width: 100%;
  margin-bottom: .75rem;
}

.nsmc-intake-alert {
  padding: .75rem 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.nsmc-intake-alert.error {
  background: #ffecec;
  border: 1px solid #f5b5b5;
  color: #900;
}

.nsmc-intake-alert.success {
  background: #e9f9ec;
  border: 1px solid #a6d8b5;
  color: #225a32;
}

.nsmc-terms-note {
  font-size: 0.85rem;
  color: #555;
  margin-top: .5rem;
}

.nsmc-quickfix-callout {
  margin: 1rem 0 1.5rem;
  padding: 0.75rem 1rem;
  background: #f8f8f8;
  border-left: 4px solid #444;
  font-size: 0.9rem;
  line-height: 1.4;
}
.nsmc-cart-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    font-weight: 600;
    color:black;
}
.cart-surround {
  /* border:black solid 2px; */
  padding:4px;
}

.cart-surround:hover {
  background-color:black;
  color:white; 
}

.cart-surround:hover .nsmc-cart-link {
  color:white;  
  text-decoration:none;
}

.nsmc-cart-link {
    transition: ,2s ease-in-out;
  
}
.nsmc-cart-link .dashicons {
    font-size: 25px;
    line-height: 1;
    transition: ,2s ease-in-out;
}

.nsmc-cart-count {
    font-size: 20px;
    transition: ,2s ease-in-out;
}

.nsmc-cart-label {
    font-size: 0.9rem;
}

@media (max-width: 600px) {
  
    .ast-theme-transparent-header #masthead {
        position: static !important;
        left: 0;
        right: 0;
    }
    .nsmc-shell {
      padding-right: 0;
      padding-left: 0;
    }
    .nsmc-store-page {
      max-width:100%;
      padding-right: 0;
      padding-left: 0;
      margin-top:0;
    }
    .nsmc-store-hero {
      padding-top: 2rem;
    }
    .nsmc-store-meta {
      flex-direction: column;
    }
    .nsmc-store-title {
      font-size: clamp(1.75rem, 3vw, 2.8rem);
    }
    h2 .nsmc-store-tagline {
      font-size: calc(1rem + .9vw);
      text-align: center;
    }
    .nsmc-store-subtitle {
      display:none;
    }
    [data-nsmc] form .product_display {
      margin-left:0;
    }

    .mc-quickfix-callout {
      margin-top:2rem;
    }
    
    [data-nsmc] .row.g-4 [class*="col-"] {
      padding-left: 0rem;
      padding-right: 0rem;
  }
}