/* =========================================================
   RUGGED PRODUCT ITEM PAGE (product-item.css)
   - Black background / gold accent
   - Hero (p-hero)
   - Brand sections: 2-column on desktop, stacked on mobile
   - Models table: centered, scrollable on small screens
   ========================================================= */

/* ---------- Base safety ---------- */
html, body{ margin:0; padding:0; overflow-x:hidden; }
img, picture, video, iframe, svg{ max-width:100%; height:auto; display:block; }

/* ---------- Tokens ---------- */
:root{
  --ink:#ffffff;      /* main body text */
  --ink2:#e6e6e6;     /* secondary text */
  --muted:#b8b8b8;    /* lighter muted text */

  --gold:#c8a33e;
  --line: rgba(255,255,255,.15);

  --max: 1400px;
  --pad: clamp(18px, 4vw, 64px);
  --gap: clamp(24px, 5vw, 72px);
  --radius: 12px;
}

/* =========================================================
   PAGE THEME (product pages only)
   ========================================================= */
body.product-item{
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% 5%, rgba(255,255,255,0.04), transparent 40%),
    #000000;
}

/* =========================================================
   SAFETY: disable global “page card” look on this page
   ========================================================= */
body.product-item .product-page-card,
body.product-item .article-page-card{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
body.product-item main.wrap{ max-width: none !important; padding: 0 !important; }
body.product-item .product-body{ padding: 0 !important; }

/* =========================================================
   HERO (p-hero)
   ========================================================= */
body.product-item .p-hero{
  position: relative;
  overflow: hidden;
  background: #000;
  padding-top: var(--nav-pad); /* uses your global nav token */
}

body.product-item .p-hero-media{
  width: 100%;
  height: clamp(420px, 97vh, 900px);
  object-fit: cover;
  object-position: 50% 45%;
  filter: contrast(1.05) saturate(1.02) brightness(.92);
}

body.product-item .p-hero-inner{
  position:absolute;
  inset:auto 0 0 0;
  padding: clamp(20px, 5vw, 56px);
  text-align:center;
  z-index:2;
  color: #f7f6f0;
}

body.product-item .p-title{
  margin: 0 0 10px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.08;
  text-shadow: 0 16px 50px rgba(0,0,0,.7);
}

body.product-item .p-kicker,
body.product-item .p-sub{
  margin: 0;
  color: rgba(247,246,240,.85);
}

body.product-item .p-rule{
  display:inline-block;
  width: 90px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 14px auto 0;
}

/* =========================================================
   MAIN CONTENT RAIL
   ========================================================= */
body.product-item .knife-gift-guide{
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(26px, 5vw, 64px) var(--pad);
}

body.product-item .disclosure{
  color: rgba(255,255,255,.75);
  text-align: center;
}

/* =========================================================
   BRAND SECTION WRAPPER
   ========================================================= */
body.product-item .gift-knife{
  padding: clamp(42px, 6vw, 70px) 0;
  border-top: 1px solid var(--line);
}
body.product-item .gift-knife:first-of-type{
  border-top: 0;
}

/* Brand heading */
body.product-item .gift-knife-header{
  text-align:center;
  max-width: 900px;
  margin: 0 auto clamp(32px, 4vw, 48px);
}

body.product-item .gift-knife-header h2{
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
  text-decoration-color: rgba(200,163,62,.85);
}

body.product-item .knife-tagline{
  font-size: 1rem;
  opacity:.9;
  text-align:center;
  max-width: 820px;
  margin: 8px auto 0;
  line-height: 1.55;
  color: var(--muted);
}

/* =========================================================
   2-COLUMN GRID (desktop)
   Structure in HTML:

   <div class="gift-knife-layout">
     <!-- either order is fine -->
     <figure class="gift-knife-photo-big">...</figure>
     <section class="knife-summary">...</section>
   </div>

   Want image on right? Put the figure second.
   ========================================================= */
body.product-item .gift-knife-layout{
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,0.95fr);
  gap: var(--gap);
  align-items: flex-start;
}

body.product-item .gift-knife-photo-big,
body.product-item .knife-summary{
  width: 100%;
  max-width: none;
  margin: 0;
  justify-self: stretch;
  min-width: 0;
}

/* =========================================================
   IMAGE BLOCK
   ========================================================= */
body.product-item .gift-knife-photo-big{
  position: relative;
}

body.product-item .gift-knife-photo-big img{
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(0,0,0,.55);
  filter: contrast(1.02) saturate(1.02);
}

body.product-item .gift-knife-photo-big::after{
  content:"";
  position:absolute;
  inset:-10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  pointer-events:none;
}

body.product-item .image-note,
body.product-item .image-note-big{
  margin: 10px 0 0;
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  line-height: 1.4;
  text-align: center;
}

/* =========================================================
   QUICK TAKE + META
   ========================================================= */
body.product-item .knife-summary{
  margin: 18px 0 18px;
  padding: 18px 18px 16px;
  border-left: 4px solid rgba(200,163,62,.85);
  background: linear-gradient(to bottom, rgba(255,255,255,.16), rgba(255,255,255,.04));
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

body.product-item .knife-summary h3{
  margin: 0 0 10px;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink2);
}

body.product-item .knife-summary ul{
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}

body.product-item .knife-summary li{
  position: relative;
  padding-left: 18px;
  margin: 0 0 8px;
  line-height: 1.55;
  color: var(--ink2);
}

body.product-item .knife-summary li::before{
  content:"•";
  position:absolute;
  left: 0;
  color: var(--gold);
  font-weight: 900;
}

body.product-item .knife-cta{ margin-top: 14px; }

body.product-item .btn-primary{
  display: inline-block;
  background: transparent;
  color:#e8edf5;
  padding: 12px 24px;
  border-radius: 8px;
  border:1px solid rgba(200,163,62,.7);
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s ease;
}
body.product-item .btn-primary:hover{
  background: rgba(200,163,62,.70);
  border-color: rgba(200,163,62,.95);
  filter: brightness(1.12);
}

body.product-item .knife-summary-disclosure{
  margin: 10px 0 0;
  color: rgba(255,255,255,.65);
  font-size: .95rem;
  line-height: 1.45;
}

body.product-item .knife-meta{
  margin: 18px 0 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
body.product-item .knife-meta p{
  margin: 0 0 8px;
  color: var(--ink2);
  line-height: 1.55;
}

/* =========================================================
   MODELS — FULL WIDTH + CENTERED UNDER BRAND
   ========================================================= */
body.product-item .gift-knife-models{
  margin-top: clamp(28px, 5vw, 48px);
  text-align: center;
}

body.product-item .models-title{
  margin: 0 0 18px;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 900;
  color: var(--ink);
}

/* Scroll wrapper so the table never breaks layout on phones */
body.product-item .models-scroll{
  max-width: 100%;
  overflow-x: auto;
}

/* Center the table itself */
body.product-item .gift-knife-models .knife-models-table{
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
  text-align: left;
}

/* ===============================
   MODELS TABLE – DARK CARD + GOLD SHINE
   =============================== */
body.product-item .knife-models-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 700px; /* allows horizontal scroll on small screens */
  background: linear-gradient(145deg, #2d2d2d, #3f3f3f, #2b2b2b);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 30px rgba(0,0,0,.85);
  position: relative;
}

/* Scroll-reveal gold outline */
body.product-item .knife-models-table::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:16px;
  border:2px solid rgba(200,163,62,0);
  pointer-events:none;
  transform:scale(.92);
  opacity:0;
  transition:
    border-color .35s ease-out,
    transform .6s ease-out,
    opacity .6s ease-out;
}

body.product-item .knife-models-table.is-revealed::before{
  border-color:rgba(200,163,62,.85);
  transform:scale(1);
  opacity:1;
}

/* Table head/body */
body.product-item .knife-models-table thead th{
  text-align: left;
  padding: 12px 12px;
  font-weight: 900;
  border-bottom: 1px solid rgba(255,255,255,.14);
  background: #181818;
  color: #f8f8f8;
  text-transform: uppercase;
  letter-spacing: .04em;
}

body.product-item .knife-models-table td{
  padding: 10px 10px;
  vertical-align: top;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #e5e5e5;
}

body.product-item .knife-models-table tbody tr:last-child td{
  border-bottom: 0;
}

body.product-item .knife-models-table tr.badge-top-pick td{
  background: rgba(200,163,62,.22);
}

/* Model name half-underline */
body.product-item .knife-models-table tbody td:first-child strong{
  position: relative;
  display: inline-block;
}

body.product-item .knife-models-table tbody td:first-child strong::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.18em;
  width: 55%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    rgba(200,163,62,1),
    rgba(200,163,62,0)
  );
}

/* CTA buttons inside table */
body.product-item a.knife-link{
  display:inline-block;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(200,163,62,.55);
  background: rgba(200,163,62,.16);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
}
body.product-item a.knife-link:hover{
  background: rgba(200,163,62,.30);
  border-color: rgba(200,163,62,.95);
}

/* Star pick badge */
body.product-item .knife-models-table tr.star-pick td:first-child{
  position: relative;
  padding-left: 10px;
}

body.product-item .knife-models-table tr.star-pick td:first-child::before{
  content: "★";
  position: absolute;
  left: 68px;
  top: 50%;
  transform: translateY(-50%);
  color: #c8a33e;
  font-size: 20px;
  text-shadow: 0 0 6px rgba(200,163,62,.35);
}
/* ============================
   Secondary Info Box
============================ */
.info-box {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 1.2rem;
  border-radius: 10px;
  margin: 1.2rem 0;
}

/* ============================
   Info Box Header – Match Main Style
============================ */
.info-box h4 {
  margin-top: 0;
  margin-bottom: .6rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #ffffff;
  position: relative;
}

/* Gold bar UNDER title */
.info-box h4::after {
  content: "";
  display: block;
  width: 65px;          /* adjust length if you want */
  height: 2px;
  background: linear-gradient(to right, #e6c97a, #c8a33e);
  border-radius: 2px;
  margin-top: .35rem;
  opacity: .9;
}


/* Clean list spacing */
.info-box ul {
  margin: 0.4rem 0 0 1.2rem;
}

.info-box li {
  margin-bottom: .35rem;
}

/* ----ARTICLE READABILITY ---- */

.state-row {
  margin: 2.5rem auto;
  max-width: 950px;
}

.knife-summary.highlight-box {
  background: rgba(20,20,20,0.85);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 4px solid #c8a33e;       /* subtle gold accent */
  padding: 1.75rem;
  border-radius: 10px;
  line-height: 1.6;
}

.knife-summary h3 {
  margin-top: 0;
  font-size: 1.4rem;
  letter-spacing: .5px;
}

.state-row ul {
  margin-top: 1rem;
  padding-left: 1.2rem;
}

.state-row ul li {
  margin-bottom: .5rem;
}
.record-link {
  text-decoration: none;
  border-bottom: 2px solid #c8a33e; /* gold underline */
  padding-bottom: 2px;
}

.record-link:hover {
  opacity: .9;
}
/* RELATED GUIDES / ARTICLES SECTION */
.related-guides {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.related-title {
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e8edf5;
  margin-bottom: 1.75rem;
  text-align: center;
  width: 100%;
}


/* grid layout – centered row of tiles */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 340px));
  justify-content: center;
  gap: 2rem;
}

/* individual card */
.related-card {
  display: flex;
  gap: 0.85rem;
  padding: 1.1rem 1.2rem;
  border-radius: 10px;
  background: #2b2b2b; /* gray like your other panel */
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: inherit;
  min-height: 140px;

  transition:
    transform 160ms ease-out,
    box-shadow 160ms ease-out,
    border-color 160ms ease-out,
    background 160ms ease-out;
}

.related-card:hover {
  transform: translateY(-2px);
  background: #333333;
  border-color: rgba(200, 163, 62, 0.6); /* your gold */
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);
}

/* thumbnail */
.related-thumb {
  width: 110px;
  height: 160px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

/* text inside card */
.related-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.related-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(200, 163, 62, 0.85);
  margin: 0 0 0.25rem;
}

.related-heading {
  font-size: 0.98rem;
  margin: 0 0 0.25rem;
  color: #f3f5f8;
}

.related-snippet {
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(232, 237, 245, 0.78);
  margin: 0;
}
.knife-title--rule-gold{
  margin: 0 0 1rem;
  padding: 0 0 .7rem;

  border-bottom: 1px solid rgba(200,163,62,.55);

  font-size: clamp(1.45rem, 2.3vw, 1.75rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: .005em;
  color: #ffffff;
}

/* Mobile polish */
@media (max-width: 700px) {
  .state-row {
    margin: 2rem 1rem;
  }

  .knife-summary.highlight-box {
    padding: 1.25rem;
  }
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */

/* Up to 1024px: relax spacing / stack if needed later */
@media (max-width: 1024px){
  body.product-item .knife-gift-guide{
    padding-inline: clamp(18px, 4vw, 32px);
  }

  body.product-item .gift-knife{
    padding: clamp(34px, 5vw, 52px) 0;
  }

  body.product-item .knife-summary{
    padding: 16px 16px 14px;
  }
}

/* Up to 900px: stack image + quick take */
@media (max-width: 900px){
  body.product-item .gift-knife-layout{
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  body.product-item .gift-knife-photo-big{
    max-width: 520px;
    margin-inline: auto;
  }

  body.product-item .knife-summary{
    max-width: 640px;
    margin-inline: auto;
  }

  body.product-item .gift-knife-header{
    margin-bottom: 28px;
  }

  body.product-item .models-title{
    font-size: 1.1rem;
  }
}

/* Up to 640px: general phone tuning (NO table stuff here) */
@media (max-width: 640px){
  body.product-item .knife-gift-guide{
    padding-block: 32px 56px;
  }

  body.product-item .gift-knife{
    padding: 30px 0 40px;
  }

  body.product-item .gift-knife-header h2{
    font-size: clamp(1.5rem, 6vw, 1.9rem);
  }

  body.product-item .knife-tagline{
    font-size: 0.95rem;
  }

  body.product-item .knife-summary{
    padding: 14px 14px 12px;
  }

  body.product-item .knife-summary ul{
    font-size: 0.93rem;
  }

  body.product-item .knife-meta p,
  body.product-item .knife-review p{
    font-size: 0.93rem;
    line-height: 1.65;
  }

  body.product-item a.knife-link{
    padding: 7px 10px;
    font-size: 0.86rem;
  }

  body.product-item .page-top-disclosure,
  body.product-item .disclosure{
    font-size: 0.86rem;
  }
}

/* =========================================
   MOBILE MODEL CARDS (ONLY UNDER ~720px)
   ========================================= */
@media (max-width: 720px){

  /* keep some side gutter so cards feel smaller */
  body.product-item .gift-knife-models{
    padding-inline: 6px;
  }

  /* turn table into stacked cards */
  body.product-item .knife-models-table{
    display: block;
    border-collapse: separate;
    border-spacing: 0;
    padding: 0;
    min-width: 0;              /* kill old 560px min-width */
    width: 100%;
    max-width: 440px;          /* cards not full-screen wide */
    margin: 0 auto;
    font-size: 0.86rem;
  }

  body.product-item .knife-models-table thead{
    display: none;             /* hide header row */
  }

  body.product-item .knife-models-table tbody{
    display: block;
  }

  /* each row becomes a card */
  body.product-item .knife-models-table tr{
    display: block;
    position: relative;
    margin: 0 0 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: linear-gradient(145deg,#2c2c2c,#383838,#222);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 6px 14px rgba(0,0,0,.55);
  }

  body.product-item .knife-models-table tr:last-child{
    margin-bottom: 0;
  }

  /* cells stack inside card */
  body.product-item .knife-models-table td{
    display: block;
    width: 100%;
    padding: 2px 0;
    border-bottom: 0;
  }

  body.product-item .knife-models-table td + td{
    margin-top: 4px;
  }

  /* small labels above each field */
  body.product-item .knife-models-table td::before{
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
    margin-bottom: 0;
  }

  body.product-item .knife-models-table td:nth-child(1)::before{ content: "Line"; }
  body.product-item .knife-models-table td:nth-child(2)::before{ content: "Best for"; }
  body.product-item .knife-models-table td:nth-child(3)::before{ content: "Specs"; }
  body.product-item .knife-models-table td:nth-child(4)::before{ content: "Price feel"; }

  /* last cell is just the button – no label */
  body.product-item .knife-models-table td:nth-child(5)::before{
    content: "";
    display: none;
  }

  /* tighten bullets inside specs */
  body.product-item .knife-models-table ul{
    margin: 2px 0 0;
  }

  body.product-item .knife-models-table li{
    margin-bottom: 3px;
  }

  /* CTA button smaller */
  body.product-item a.knife-link{
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  body.product-item .knife-models-table td:last-child{
    margin-top: 4px;
  }

  /* STAR PICK on mobile: highlight card + star in top-right */
  body.product-item .knife-models-table tr.star-pick{
    border-color: rgba(200,163,62,.85);
  }

  /* remove desktop star from first cell */
  body.product-item .knife-models-table tr.star-pick td:first-child::before{
    content: none;
  }

  body.product-item .knife-models-table tr.star-pick::after{
    content: "★";
    position: absolute;
    top: 6px;
    right: 8px;
    color: #c8a33e;
    font-size: 16px;
    text-shadow: 0 0 6px rgba(200,163,62,.35);
	
  }
  body.product-item .knife-models-table td:last-child{
    display: flex;
    justify-content: center;
    margin-top: 14px;
  }

  body.product-item a.knife-link{
    display: inline-block;
    text-align: center;
    
    /* 🔥 makes it longer horizontally */
    min-width: 68%;
    
    padding: 7px 15px;     /* keeps thickness reasonable */
    font-size: 1rem;
    border-radius: 999px;
  }
}

