/* =========================================================
   Dog Tags – Component & Page-Specific Styles
   Scope: All Dog Tag category pages (Army, Navy, Marines, etc.)
   ========================================================= */
   
   /* =========================================================
   Dog Tag Category Quick Navigation-START
   Used on all Dog Tag category pages (Army, Navy, Marines, etc.)
   Scoped to prevent bleed into other sections
   ========================================================= */
/* ========================================
   QUICK NAV CONTAINER
======================================== */
.dogtag-quick-nav {
  background: linear-gradient(180deg, #0f223d 0%, #0c1c33 100%);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.4);
  border-radius: 10px;

  max-width: 1250px;
  margin: 1.2rem auto 2.6rem auto;

  padding: 0 0.8rem;
}

/* Inner container */
.dogtag-quick-nav-inner {
  padding: 1.2rem 2.2rem;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Top row */
.quick-nav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.4rem;
}

/* Section label */
.dogtag-quick-nav .quick-nav-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  font-weight: 800;
  color: #cfd7e3;
  margin: 0;
  line-height: 1;
}

/* ========================================
   GRID
======================================== */
.dogtag-quick-nav .quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;

  width: 100%;
  margin-top: 1rem;
}

/* ========================================
   CARD
======================================== */
.dogtag-quick-nav .quick-nav-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  padding: 0.7rem 0.7rem 0.8rem;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;

  transition: transform 0.25s ease,
              background 0.25s ease,
              border-color 0.25s ease;
}

.dogtag-quick-nav .quick-nav-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
  color: #ffffff;
  letter-spacing: 0.06em;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dogtag-quick-nav .quick-nav-card h3::after {
  content: "›";
  font-size: 1.9em;
  transition: transform 0.2s ease;
}

.dogtag-quick-nav .quick-nav-card:hover h3::after {
  transform: translateX(6px);
}

.dogtag-quick-nav .quick-nav-card p {
  font-size: 0.9rem;
  color: #d6deea;
  line-height: 1.45;
  margin: 0;
}

.dogtag-quick-nav .quick-nav-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  border-color: rgba(255,255,255,0.25);
}

/* Accessibility */
.dogtag-quick-nav .quick-nav-card:focus-visible {
  outline: 2px solid rgba(255,255,255,0.6);
  outline-offset: 3px;
}

/* ========================================
   CTA BUTTON
======================================== */
.quick-nav-cta {
  position: relative;
  display: inline-block;

  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  padding: 0.65rem 1.3rem;

  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;

  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;

  transition: all 0.25s ease;

  box-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

.quick-nav-cta::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: rgba(255,255,255,0.25);
}

.quick-nav-cta:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.25);
}

.quick-nav-cta:active {
  transform: translateY(0);
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.45);
}

/* ========================================
   MOBILE
======================================== */
@media (max-width: 768px) {

  .dogtag-quick-nav-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }

  .quick-nav-label {
    text-align: center;
    width: 100%;
  }

  .quick-nav-cta {
    width: 100%;
    text-align: center;
  }

}

 /* =========================================================
   Dog Tag Category Quick Navigation-START
   Used on all Dog Tag category pages (Army, Navy, Marines, etc.)
   Scoped to prevent bleed into other sections
   ========================================================= */




/* =========================================================
   Dog Tag – End of Section Navigation-Start
   Used on all Dog Tag category pages (Army, Navy, Marines, etc.)
   ========================================================= */
.dogtag-end-nav {
  opacity: 0.90;
  margin: 0.2rem auto 0;
  padding: 0.6rem 0.8rem 0.8rem;
  text-align: center;
  border-radius: 18px;
  max-width: 1150px;

  background-image:
     linear-gradient(
    180deg,
    rgba(120,130,145,0.45) 0%,
    rgba(110,120,135,0.45) 100%
  ),
    url("/img/backgrounds/flagwave-soft.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 20px 40px rgba(0,0,0,0.25);
}

/* Divider rule above nav */
.dogtag-end-nav::before {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  margin: 0 auto 0.8rem;
  background: rgba(255,255,255,0.25);
}

.dogtag-end-nav .end-nav-header {
  display: inline-block;
  padding: 0.35rem 0.6rem;
  border-radius: 12px;

  background: rgba(24, 32, 44, 0.55);
  backdrop-filter: blur(2px);

  color: #f1f4f8;
}


.dogtag-end-nav:hover {
  opacity: 1;
}

/* Eyebrow */
.dogtag-end-nav .end-nav-eyebrow {
  font-family: 'Cinzel', serif;
  color: rgba(247, 250, 252, 0.89); 
  filter: saturate(300%) contrast(150%) drop-shadow(2px 2px 4px black);  
  font-weight: 650;
  letter-spacing: 0.20em;
  /*opacity: 0.99;*/
  font-size: 0.90rem;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
 }

/* Title */
.dogtag-end-nav .end-nav-title {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 1.28rem;
  font-weight: 775;
  color: #f4fafc; 
  filter: saturate(300%) contrast(150%) ;
  margin-bottom: 0.5rem;
  }

/* Action grid */
.dogtag-end-nav .end-nav-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}

/* Nav card */
.dogtag-end-nav .end-nav-card {
  display: block;
  padding: 0.4rem 0.45rem;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(24, 32, 44, 0.84);
  backdrop-filter: blur(4px);
  color: #e6ebf2;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;

  margin-bottom: -0.5rem;
}

.dogtag-end-nav .end-nav-card:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.35);
  color: #ffffff;
}

/* Card subtitle */
.dogtag-end-nav .end-nav-sub {
  font-size: 0.85rem;
  letter-spacing: 0.09em;
  opacity: 0.8;  
}

/* Secondary buttons (if used) */
.dogtag-end-nav .end-nav-secondary {
  font-size: 0.85rem;
  opacity: 0.75;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.05rem;
  flex-wrap: wrap;
}

.dogtag-end-nav .end-nav-btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  background-color: rgba(24, 32, 44, 0.80);  /* stable, flag-proof */
  color: #f1f4f8; 
  filter: saturate(300%) contrast(150%);
  letter-spacing: 0.08em;
  text-decoration: none;
  font-weight: 625;
  transition: background 0.25s ease, transform 0.2s ease;  
  border: 1px solid rgba(255,255,255,0.28);  
  backdrop-filter: none;   /* critical: ignore flag texture */
  box-shadow:
    0 4px 10px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.10);     
}


.dogtag-end-nav .end-nav-btn:hover {
	background-color: rgba(24, 32, 44, 0.96);
   transform: translateY(-1px);
}

/* Mobile spacing */
@media (max-width: 600px) {
  .dogtag-end-nav {
    padding: 2rem 1.25rem;
  }
}
/* =========================================================
   Dog Tag – End of Section Navigation-END
   Used on all Dog Tag category pages (Army, Navy, Marines, etc.)
   ========================================================= */


/* =========================================
   Dog tag cards – padding normalization
   Overrides base product-card padding safely
   ========================================= */

/* This reduces side padding which was causing line wrap above */
/* This rule is most likely not need because of the next two rules */
.product-grid[data-loadmore] .product-card{
	padding: 0.4rem 0.45rem 1.2rem;
}

/*Next Two Rule are used on dog tags to make the image larger-START */

.product-grid[data-loadmore] .product-card img {
  max-height: 280px;
  width: 100%;
  object-fit: contain;
 }
/*Next Two Rule are used on dog tags to make the image larger-END */


/* Section headers between product grids */
/* Align section headers with product grids */
.product-subsection .section-header {
  max-width: 1200px;   /* same as product-grid */
  margin-left: auto;
  margin-right: auto;
  margin-top: 3.75rem;
}

/* Pull grids closer to section titles */
.product-subsection .product-grid {
  margin-top: 0.25rem;
}

/* Dog tag collection page: tighten section headers */

/* Dog tag category sections – header alignment */
.material-section > .section-header {
  padding-inline: 1.2rem;   /* match grid gutter */
  max-width: 1200px;        /* same as grid container */
  margin-inline: auto;
}
/* This control the dog tag layout from 4 across to 1 on mobile */

/* DOG TAG GRIDS — authoritative layout */
.material-section .product-grid {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .material-section .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .material-section .product-grid {
    grid-template-columns: 1fr;
  }
}

/* Dog tag card CTA text version */
.product-card .product-cta {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1f3d6d; /* your brand blue */
  letter-spacing: 0.02em;
}

.product-card:hover .product-cta {
  text-decoration: underline;
}

/* Middle-ground CTA: framed action label */
/* Middle-ground CTA: framed action label */
.card-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;

  margin-top: 0.55rem;                 /* stays at bottom of card */
  padding: 0.15rem 0.65rem 0.25rem;

  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  /*text-transform: uppercase;*/

  color: #1f3d6d;
  border: 1px solid rgba(31, 61, 109, 0.55);
  border-radius: 999px;             /* soft pill, not buttony */

  background: transparent;
  white-space: nowrap;
}

/* subtle arrow */
/*.card-action::after {
  content: "→";
  font-size: 0.85em;
  opacity: 0.75;
}*/

.card-action::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;

  border-right: 2.0px solid #2b3f63;
  border-bottom: 2.0px solid #2b3f63;

  transform: rotate(-45deg) translateX(0);
  margin-left: 0.2rem;
/*  margin-top: 1px;*/
 
  transition: transform 0.18s ease, border-color 0.18s ease;
}


.product-card:not(.featured-card):hover .card-action {
  border-color: #1f3d6d;
}

/* Dog tag main grids: use wide layout */
.material-section .product-grid {
  max-width: 1200px;           /* match featured grid */
  margin-left: auto;
  margin-right: auto;
}


/* Dog Tag cards — match featured vertical rhythm without featured styling */
/* Dog Tag cards — match featured vertical rhythm without featured styling */
.product-card--dogtag {
  /* dog tag–specific spacing, visuals, sizing only */
  /* NO display rule */
}

