/* =========================
   Fonts
========================= */
@font-face { font-family: "OpenSans-Light"; src: url('../fonts/OpenSans-Light.ttf'); }
@font-face { font-family: "OpenSans-Regular"; src: url('../fonts/OpenSans-Regular.ttf'); }
@font-face { font-family: "Oswald-Regular"; src: url('../fonts/Oswald-Regular.ttf'); }
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&display=swap');


/* =========================
   Theme Variables
========================= */
:root{
    --bg-overlay: rgba(0,0,0,0.45);

    --panel-a: rgba(36,37,47,0.94);
    --panel-b: rgba(24,25,32,0.94);

    --card-a: #2f323a;
    --card-b: #24262d;

    --border: rgba(255,255,255,0.07);
    --border-soft: rgba(255,255,255,0.05);

    --text: #ffffff;
    --text-soft: rgba(255,255,255,0.82);
    --muted: rgba(255,255,255,0.60);

    /* Accent (UI focus) */
    --accent: #4fa3ff;
    --accent-soft: rgba(79,163,255,0.18);
    --accent-border: rgba(79,163,255,0.38);

    /* CTA (continue button) */
    --cta: #E04A47;
    --cta2: #C63E3B;
    --cta-hover: #AD3735;

    /* Premium shape */
    --radius: 6px;
    --radius-sm: 6px;

    --shadow-lg: 0 18px 50px rgba(0,0,0,0.60);
    --shadow-md: 0 10px 26px rgba(0,0,0,0.45);
    --shadow-sm: 0 6px 16px rgba(0,0,0,0.35);
}

/* =========================
   Page Background
========================= */
html{
    min-height: 100%;
    background: url("/store/assets/img/background.jpg") no-repeat center center fixed;
    background-size: cover;
}
html::before{
    content:"";
    position: fixed;
    inset: 0;
    background: var(--bg-overlay);
    z-index: -1;
}
html, body{ height:100%; }

body{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 300;
    background: transparent;
    color: var(--text);
}

/* =========================
   Links / Basics
========================= */
a{ color: var(--cta); }
a:hover, a:active, a:focus{
    color: var(--cta-hover);
    text-decoration:none;
}
hr{ border-color: var(--border-soft); }
.no-margin{ margin:0; }

.crown{
    width: 8.5%;
    padding-right: 4px;
    position: relative;
    bottom: -1px;
}

/* =========================
   Layout
========================= */
.nav-wrapper{ margin-top: 50px; }
.notice{ margin-top: 20px; }

.container{
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    margin-bottom: 0;
}

/* Main big panel */
.wrapper{
    /* Premium depth: subtle gradient + inset border */
    background: linear-gradient(to bottom, var(--panel-a), var(--panel-b));
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;

    /* Page presence */
    min-height: 70vh;
    padding: 34px 0 34px 0;

    /* Separation from footer */
    margin-bottom: 32px;
}

/* =========================
   Sidebar spacing
========================= */
.col-md-3 > *{ margin-bottom: 18px; }
@media (min-width: 992px){
    .col-lg-3 > *{ margin-bottom: 18px; }
}

/* Guaranteed spacing between stacked blocks */
.card + .card,
.panel + .panel,
.panel-default + .panel-default,
.card + .panel,
.panel + .card,
.panel-default + .card,
.card + .panel-default{
    margin-top: 18px !important;
}

/* =========================
   Header / Breadcrumbs (premium)
   Your welcome bar is likely a .panel-heading
========================= */
.panel-heading,
.card-header,
.banner-header{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Title style */
    height: 90px;
    padding: 0 20px;
    text-align: center;

    font-family: "OpenSans-Regular";
    font-size: 34px;
    font-weight: 300;
    letter-spacing: 0.2px;
    color: var(--text);

    background: rgba(35,37,45,0.92);
    border-bottom: 1px solid var(--border-soft);
}

/* Keep breadcrumb links pinned left if present */
.panel-heading .breadcrumb,
.card-header .breadcrumb,
.banner-header .breadcrumb{
    position: absolute;
    left: 18px;
    top: 10px;
    margin: 0;
    background: transparent;
    padding: 0;
    font-size: 12px;
    opacity: 0.9;
}

/* If your breadcrumb is not a bootstrap .breadcrumb, still style it nicely */
.panel-heading a,
.card-header a{
    font-size: 12px;
    text-transform: none;
}

/* =========================
   Cards / Panels
========================= */
.card,
.panel-default{
    background: linear-gradient(to bottom, var(--card-a), var(--card-b));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover,
.panel-default:hover{
    box-shadow: 0 22px 60px rgba(0,0,0,0.65);
    transform: translateY(-2px);
    border-color: rgba(79,163,255,0.22);
}

.panel-default .panel-heading{
    /* Use the same welcome/header style for headings, but smaller for normal panels */
    height: auto;
    min-height: 44px;
    justify-content: flex-start;
    font-size: 16px;
    text-transform: none;
    padding: 12px 14px;
    background: rgba(35,37,45,0.88);
    border-bottom: 1px solid var(--border-soft);
}

/* =========================
   Forms
========================= */
.form-control{
    background-color: rgba(35,37,45,0.96);
    border: 1px solid rgba(255,255,255,0.10);
    color: var(--text);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.form-control:focus{
    background-color: rgba(35,37,45,0.98);
    border-color: var(--accent-border);
    box-shadow: 0 0 0 0.25rem var(--accent-soft);
    outline: none;
}

.input-group-text{
    background-color: rgba(35,37,45,0.96);
    border: 1px solid rgba(255,255,255,0.10);
    color: var(--accent);
    border-right: none;
}

/* =========================
   Buttons (CTA stays red)
========================= */
.btn{
    border-radius: var(--radius-sm);
    padding: 10px 18px;
    font-weight: 800;
    letter-spacing: 0.4px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    text-transform: uppercase;
    font-family: "Oswald-Regular";
}

.btn-success{
    color: #fff;
    background: linear-gradient(to bottom, var(--cta), var(--cta2));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow-sm);
}

.btn-success:hover,
.btn-success:active,
.btn-success:focus{
    background: linear-gradient(to bottom, #D13E3B, var(--cta-hover));
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(0,0,0,0.50);
    outline: none;
}

/* =========================
   Categories list (premium)
========================= */
.list-group{ margin-bottom: 0; }

.list-group-item{
    background-color: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.06);
    color: var(--text-soft);
    padding: 10px 12px;
}

.list-group-item:nth-of-type(even){
    background-color: rgba(255,255,255,0.045);
}

.list-group-item:hover{
    background-color: var(--accent-soft);
    color: var(--text);
}

.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus{
    background-color: rgba(79,163,255,0.22);
    border-color: var(--accent-border);
    color: #fff;
}

/* Category count badge */
.badge{
    background-color: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    padding: 6px 10px;
    color: #fff;
}

/* =========================
   Products (make tiles look premium)
========================= */
#products{ margin-top: 28px; }

.item{
    background: linear-gradient(to bottom, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius);
    padding: 14px;
    min-height: 175px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.item:hover{
    transform: translateY(-3px);
    box-shadow: 0 18px 50px rgba(0,0,0,0.55);
    border-color: rgba(79,163,255,0.22);
}

.item img{
    image-rendering: pixelated;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,0.35));
}

/* =========================
   Tables
========================= */
.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td{
    padding: 8px;
    line-height: 1.4;
    vertical-align: middle;
    border-top: 1px solid rgba(255,255,255,0.10);
}

/* =========================
   Footer (premium separation)
========================= */
.footer, .copyright{
    color: var(--text);
}

.copyright{
    background: rgba(31,33,35,0.92);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 18px 20px;
    margin-top: 16px;
    margin-bottom: 22px;
    font-size: 12px;
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px){
    .panel-heading,
    .card-header,
    .banner-header{
        height: auto;
        min-height: 70px;
        font-size: 22px;
        padding: 16px 14px;
    }

    .panel-heading .breadcrumb,
    .card-header .breadcrumb,
    .banner-header .breadcrumb{
        position: static;
        display: block;
        margin-bottom: 6px;
        text-align: center;
    }

    .wrapper{
        min-height: auto;
        padding: 24px 0;
    }
}
/* =========================
   PREMIUM FIXES (targets your actual markup)
   Uses: .shop-banner + .wrapper + .copyright
========================= */

/* --- Premium squarer edges --- */
:root {
  --radius-premium: 6px;
  --accent-blue: #4fa3ff;
  --accent-blue-soft: rgba(79, 163, 255, 0.14);
  --accent-blue-border: rgba(79, 163, 255, 0.30);
}

/* Apply premium radius consistently */
.wrapper,
.shop-banner,
.card,
.panel-default,
.item,
.copyright {
  border-radius: var(--radius-premium) !important;
}

/* =========================
   Center + premium HERO header
========================= */
.shop-banner {
  /* Center contents */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  /* Give it presence */
  min-height: 96px;
  padding: 24px 22px;

  /* Premium surface */
  background: linear-gradient(to bottom, rgba(35, 37, 45, 0.92), rgba(26, 27, 34, 0.92));
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 16px 46px rgba(0,0,0,0.55);

  /* Space from the main panel */
  margin-bottom: 18px;
}

.shop-banner h1 {
  font-family: 'Cinzel', serif !important;
  font-weight: 500;
  font-size: 34px;
  letter-spacing: 0.7px;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}


/* Optional: a subtle blue underline glow */
.shop-banner::after {
  content: "";
  display: block;
  position: absolute;
  width: min(520px, 80%);
  height: 1px;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to right, transparent, var(--accent-blue-border), transparent);
  opacity: 0.9;
}

/* Ensure ::after positioning works */
.shop-banner { position: relative; }

/* =========================
   Make the big panel look intentional (premium frame + watermark)
========================= */
.wrapper {
  background: linear-gradient(to bottom, rgba(36,37,47,0.95), rgba(24,25,32,0.95)) !important;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 18px 55px rgba(0,0,0,0.60);
  padding-top: 34px !important;
  padding-bottom: 34px !important;
  min-height: 70vh !important;
  margin-top: 0 !important;
  margin-bottom: 28px !important;
  position: relative;
  overflow: hidden;
}

/* subtle watermark so empty area feels premium, not blank */
.wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(79,163,255,0.10), transparent 52%),
    radial-gradient(circle at 20% 70%, rgba(255,255,255,0.04), transparent 45%),
    radial-gradient(circle at 80% 75%, rgba(255,255,255,0.03), transparent 45%);
  opacity: 0.70;
  pointer-events: none;
}

/* keep actual content above watermark */
.wrapper > * { position: relative; z-index: 1; }

/* =========================
   Sidebar spacing (keep what worked)
========================= */
.col-md-3 > * { margin-bottom: 18px; }

/* =========================
   Product cards: extra premium polish
========================= */
.item {
  background: linear-gradient(to bottom, rgba(255,255,255,0.05), rgba(255,255,255,0.03)) !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  box-shadow: 0 10px 26px rgba(0,0,0,0.45);
  padding: 14px !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 55px rgba(0,0,0,0.60);
  border-color: rgba(79,163,255,0.22) !important;
}

.item img {
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.35));
}

/* =========================
   Footer separation (more “premium block”)
========================= */
.copyright {
  margin-top: 16px !important;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 14px 40px rgba(0,0,0,0.55);
}

/* =========================
   Mobile tweaks
========================= */
@media (max-width: 768px) {
  .shop-banner { min-height: 78px; padding: 18px 14px; }
  .shop-banner h1 { font-size: 24px; }
  .wrapper { min-height: auto !important; }
}
/* =========================
   COLOR CORRECTION (fix gray/muddy look)
   Paste at very bottom
========================= */

/* Slightly cooler, deeper overlay so background blends with panels */
html::before {
  background: rgba(0, 0, 0, 0.55) !important;
}

/* Main big panel: remove gray slab look -> deep blue-charcoal */
.wrapper {
  background: linear-gradient(
    to bottom,
    rgba(18, 20, 28, 0.92),
    rgba(12, 13, 18, 0.92)
  ) !important;

  border-color: rgba(255,255,255,0.06) !important;
}

/* Add subtle “ambient blue” glow so it feels premium */
.wrapper::before {
  background:
    radial-gradient(circle at 50% 14%, rgba(79,163,255,0.14), transparent 52%),
    radial-gradient(circle at 18% 68%, rgba(79,163,255,0.06), transparent 55%),
    radial-gradient(circle at 82% 72%, rgba(255,255,255,0.03), transparent 45%) !important;
  opacity: 0.85 !important;
}

/* Header bar: match the new tone */
.shop-banner {
  background: linear-gradient(
    to bottom,
    rgba(22, 24, 33, 0.92),
    rgba(14, 15, 22, 0.92)
  ) !important;

  border-color: rgba(255,255,255,0.07) !important;
}

/* Cards: slightly cooler to match (reduces “gray on gray”) */
.card,
.panel-default,
.item {
  background: linear-gradient(
    to bottom,
    rgba(30, 33, 44, 0.92),
    rgba(20, 22, 30, 0.92)
  ) !important;

  border-color: rgba(255,255,255,0.07) !important;
}

/* Footer: match palette so it doesn’t feel like a different gray block */
.copyright {
  background: rgba(18, 20, 28, 0.92) !important;
  border-color: rgba(255,255,255,0.06) !important;
}
/* =========================
   Darken the area behind the Welcome banner
========================= */

/* The container that wraps the shop banner */
.nav-wrapper > .container {
  background: linear-gradient(
    to bottom,
    rgba(10, 12, 18, 0.92),
    rgba(8, 10, 14, 0.92)
  ) !important;

  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.65);
  padding-top: 18px;
  padding-bottom: 18px;
}
/* =========================
   Separate header from main panel (premium spacing + card feel)
========================= */

/* Make the header area feel like its own block */
.nav-wrapper > .container {
  margin-bottom: 22px !important;          /* space between header and main panel */
  padding-bottom: 22px !important;

  border: 1px solid rgba(255,255,255,0.06) !important;
  box-shadow: 0 22px 70px rgba(0,0,0,0.65) !important;
}

/* Add a subtle divider glow line at the bottom of the header block */
.nav-wrapper > .container::after {
  content: "";
  display: block;
  height: 1px;
  width: min(780px, 88%);
  margin: 18px auto 0 auto;
  background: linear-gradient(to right, transparent, rgba(79,163,255,0.28), transparent);
  opacity: 0.9;
}

/* Also add breathing room ABOVE the main panel */
.container.wrapper {
  margin-top: 0 !important;
}

/* If wrapper is still “sticking”, force it down slightly */
.wrapper {
  margin-top: 22px !important;
}
/* =========================
   Replace welcome text with a logo (CSS-only)
========================= */

/* Hide the H1 text */
.shop-banner h1 {
  display: none !important;
}

/* Turn the banner into a logo holder */
.shop-banner {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 22px 18px !important;
  min-height: 110px !important;
  position: relative;
}

/* Logo image injected via CSS */
.shop-banner::before {
  content: "";
  display: block;
  width: 420px;                 /* adjust for your logo */
  max-width: 80%;
  height: 78px;                 /* adjust for your logo */
  background: url("/store/assets/img/logo.png") no-repeat center center;
  background-size: contain;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.55));
}
/* =========================
   Hero logo sizing (banner)
========================= */

.shop-banner {
  min-height: 140px !important;   /* gives logo room to breathe */
  padding: 28px 20px !important;
}

/* Increase logo size */
.shop-banner::before {
  width: 520px !important;        /* was ~420 */
  height: 110px !important;       /* was ~78 */
  max-width: 90%;
  background-size: contain;
}
/* Darker banner background for logo contrast */
.shop-banner {
  background: linear-gradient(
    to bottom,
    rgba(12, 14, 18, 0.95),
    rgba(8, 10, 14, 0.98)
  ) !important;
}
/* Subtle logo glow */
.shop-banner::before {
  filter:
    drop-shadow(0 10px 30px rgba(0,0,0,0.7))
    drop-shadow(0 0 14px rgba(79,163,255,0.25));
}
@media (max-width: 768px) {
  .shop-banner {
    min-height: 110px !important;
  }

  .shop-banner::before {
    width: 360px !important;
    height: 80px !important;
  }
}






