/* ============================
   NeedToOrder – Modern Sideboxes
   Drop-in override for Bootstrap template sideboxes.
   Place in: /includes/templates/YOUR_TEMPLATE/css/stylesheet_nto_sideboxes_modern.css
   ============================ */

:root{
  --nto-ink:#0f1e2e;
  --nto-wine:#7b1f22;
  --nto-border: rgba(15,30,46,.12);
  --nto-soft: rgba(15,30,46,.06);
  --nto-hover: rgba(123,31,34,.06);
}

/* Card shell */
.leftBoxCard.card,
.rightBoxCard.card{
  border:1px solid var(--nto-border);
  border-radius:14px;
  overflow:hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  background:#fff;
}

/* Title bar */
.leftBoxHeading.card-header,
.rightBoxHeading.card-header{
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
  color: var(--nto-ink);
  border-bottom:1px solid var(--nto-soft);
  padding: .85rem 1rem;
  font-weight: 800;
  letter-spacing: .02em;
  font-size: .95rem;
  line-height: 1.15;
}

.leftBoxHeading a,
.rightBoxHeading a{
  color: inherit;
  text-decoration: none;
}

.leftBoxHeading a:hover,
.rightBoxHeading a:hover{
  color: var(--nto-wine);
  text-decoration: none;
}

/* Content spacing */
.sideBoxContent{
  padding: .35rem 0;
}

/* Links inside list-group sideboxes (categories, information, etc.) */
.sideBoxContent .list-group-item{
  border: 0;
  border-bottom:1px solid var(--nto-soft);
  padding: .68rem 1rem;
  border-radius: 0;
  color: var(--nto-ink);
  background: transparent;
}

.sideBoxContent .list-group-item:last-child{
  border-bottom: 0;
}

.sideBoxContent .list-group-item-action{
  transition: background-color .15s ease, transform .15s ease;
}

.sideBoxContent .list-group-item-action:hover{
  background: var(--nto-hover);
}

.sideBoxContent .list-group-item-action:active{
  transform: translateY(1px);
}

/* “Current category/page” styling */
.sideBoxContent .list-group-item.active,
.sideBoxContent .list-group-item.current{
  background: rgba(123,31,34,.10);
  color: var(--nto-wine);
  font-weight: 800;
}

/* Category depth / icons (subtle) */
.sideboxCategory-subs{
  font-weight: 700;
}
.sideboxCategory-products{
  opacity: .92;
}

/* Shopping cart / totals blocks – keep tidy */
#shopping-cartContent,
#whats-newContent,
#featuredContent,
#specialsContent{
  padding-top: .15rem;
}

/* Small-screen polish: reduce shadows a touch (mobile looks cleaner) */
@media (max-width: 575.98px){
  .leftBoxCard.card,
  .rightBoxCard.card{
    box-shadow: 0 8px 18px rgba(0,0,0,.05);
    border-radius: 12px;
  }
  .leftBoxHeading.card-header,
  .rightBoxHeading.card-header{
    padding: .8rem .9rem;
  }
}
