@charset "utf-8";
/* =====================================================================
   REDESIGN LAYER — ExploreCampingStore "Rugged Trail / Adventure-Tech"
   A deliberately different language from the pet-boutique site: dark
   graphite + blaze-amber, chamfered (cut-corner) shapes instead of
   rounded ones, condensed bold display type, topographic texture.
   Loaded last: re-declares base tokens so every var()-based rule in
   styles.css / inner.css / media.css cascades to the new look.
   ===================================================================== */

:root {
  /* ---- re-mapped base tokens ---- */
  --forest: #14171A;            /* graphite-black — replaces deep green */
  --forest-soft: #20252A;
  --charcoal: #1B1915;
  --gold: #FF7A1A;              /* blaze amber — replaces muted gold */
  --beige: #D9D2BF;             /* stone */
  --ivory: #F2EEE4;
  --paper: #FAF8F2;
  --muted: #7B7768;
  --line: rgba(20, 23, 26, 0.16);
  --white: #fff;

  /* ---- new tokens ---- */
  --amber: #FF7A1A;
  --amber-deep: #C85A0C;
  --amber-light: #FFB066;
  --graphite: #14171A;
  --graphite-soft: #20252A;
  --stone: #D9D2BF;
  --cut: 16px;                  /* chamfer size for angular shapes */
  --cut-lg: 26px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-glow: 0 0 0 1px rgba(255, 122, 26, 0.35), 0 18px 40px -20px rgba(20, 23, 26, 0.55);

  /* ---- new font pairing: Oswald (condensed, rugged) + Work Sans ---- */
  --serif: "Oswald", "Arial Narrow", sans-serif;
  --sans: "Work Sans", Arial, sans-serif;
}

::selection { background: var(--amber); color: #fff; }
body { background: var(--paper); }
h1, h2 { text-transform: uppercase; letter-spacing: .01em; font-weight: 500; }

/* chamfer mixin-ish helper, applied per component below */
.chamfer {
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

/* ---------------------------------------------------------------------
   Buttons — chamfered, amber glow sweep
   --------------------------------------------------------------------- */
.button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: .14em;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .35s ease;
}
.button-light { background: var(--white); color: var(--graphite); }
.button-light:hover { background: var(--amber); color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.button-dark {
  background: linear-gradient(135deg, var(--graphite), #0c0e10);
  color: var(--white);
  border: 1px solid rgba(255, 122, 26, 0.35);
}
.button-dark:hover { background: linear-gradient(135deg, var(--amber-deep), var(--amber)); border-color: transparent; transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.button-gold { background: linear-gradient(135deg, var(--amber), var(--amber-deep)); color: #fff; }
.button-gold:hover { background: linear-gradient(135deg, var(--graphite), #0c0e10); color: var(--amber-light); transform: translateY(-3px); box-shadow: var(--shadow-glow); }

.text-link { border-bottom-color: var(--amber); }
.text-link span { transition: transform .3s var(--ease); display: inline-block; }
.text-link:hover span { transform: translateX(6px); }
.light-link { border-color: rgba(255, 255, 255, 0.5); }

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */
.site-header { background: rgba(20, 23, 26, 0.5); }
.fixed-nav .site-header { background: rgba(20, 23, 26, 0.92); }
.mark { border-color: var(--amber); color: var(--amber-light); }
.main-nav a, .utility-nav a { font-family: var(--sans); font-weight: 600; }
.main-nav a:hover, .utility-nav a:hover { color: var(--amber-light); opacity: 1; }

/* ---------------------------------------------------------------------
   Hero — topographic contour overlay + staggered word reveal
   --------------------------------------------------------------------- */
/* no isolation on .hero: header.php is included inside it, and a stacking
   context here would trap the fixed header beneath later sections */
.hero { isolation: auto; }
.top-fix-bar, .site-header, .fixed-nav .site-header { z-index: 1000; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .35;
  mix-blend-mode: overlay;
  background-image:
    repeating-radial-gradient(circle at 18% 112%, transparent 0, transparent 38px, rgba(255,255,255,.18) 39px, transparent 40px),
    repeating-radial-gradient(circle at 18% 112%, transparent 0, transparent 78px, rgba(255,255,255,.12) 79px, transparent 80px);
}
.hero-content { border-left: 3px solid var(--amber); padding-left: 28px; }
.hero-content .eyebrow { color: var(--amber-light); }
.hero h1 { font-weight: 500; }
.hero-actions .button { animation: chamferIn .7s var(--ease) both; }
.hero-actions .button:nth-child(1) { animation-delay: .1s; }
.hero-actions .text-link { animation: chamferIn .7s var(--ease) .25s both; }

@keyframes chamferIn { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: translateX(0); } }
@keyframes glowPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 122, 26, .5); } 70% { box-shadow: 0 0 0 16px rgba(255, 122, 26, 0); } }

/* ---------------------------------------------------------------------
   Section headings
   --------------------------------------------------------------------- */
.eyebrow { font-family: var(--sans); position: relative; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--amber); }
.section-heading .eyebrow { justify-content: center; }

/* ---------------------------------------------------------------------
   Category cards — chamfered corners, stamped corner badge
   --------------------------------------------------------------------- */
.category-card {
  clip-path: polygon(var(--cut-lg) 0, 100% 0, 100% calc(100% - var(--cut-lg)), calc(100% - var(--cut-lg)) 100%, 0 100%, 0 var(--cut-lg));
  transition: transform .5s var(--ease), clip-path .5s var(--ease);
}
.category-card:hover { transform: translateY(-6px); }
.category-card::after { background: linear-gradient(0deg, rgba(20,23,26,.88), transparent 115%); }
.category-card::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 34px 34px 0;
  border-color: transparent var(--amber) transparent transparent;
  opacity: 0;
  transition: opacity .35s ease;
}
.category-card:hover::before { opacity: 1; }
.category-card b { text-transform: uppercase; font-weight: 500; }
.category-card small { color: var(--amber-light); letter-spacing: .22em; }

/* ---------------------------------------------------------------------
   Product cards
   --------------------------------------------------------------------- */
.product-image { clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%); }
.tag { clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px); background: var(--amber); color: #fff; font-weight: 700; }
.heart { display: inline-flex !important; border-radius: 0; clip-path: polygon(20% 0, 80% 0, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0 80%, 0 20%); background: rgba(20,23,26,.72); color: var(--stone); }
.heart:hover { color: var(--amber); background: rgba(20,23,26,.9); }
.product-info h3, .mini-product h3 { text-transform: uppercase; font-weight: 500; letter-spacing: .01em; }
.product-info strong { color: var(--amber-deep); }

.quick-add {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  background: linear-gradient(135deg, var(--amber), var(--amber-deep)) !important;
  transform: translateY(70px) scale(.95);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), background .3s ease, box-shadow .3s ease;
}
.quick-add::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px; height: 15px;
  border: 1px solid rgba(255,255,255,.7);
  font-size: 12px;
  line-height: 1;
  transition: transform .4s var(--ease);
}
.product-card:hover .quick-add, .product-card:focus-within .quick-add { transform: translateY(0) scale(1); box-shadow: var(--shadow-glow); }
.quick-add:hover { background: linear-gradient(135deg, var(--graphite), #0c0e10) !important; }
.quick-add:hover::before { transform: rotate(135deg); }

/* ---------------------------------------------------------------------
   Featured — diagonal clip divider
   --------------------------------------------------------------------- */
.featured { position: relative; }
.featured-image { clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%); }
.featured-copy { padding-left: clamp(5vw, 8vw, 9vw); }
.featured-copy .eyebrow { color: var(--amber-deep); }
.featured-copy .eyebrow::before { background: var(--amber-deep); }
.details dt { font-family: var(--sans); font-weight: 800; }
@media (max-width: 1050px) { .featured-image { clip-path: none; } }

/* ---------------------------------------------------------------------
   New arrivals mini products
   --------------------------------------------------------------------- */
.mini-product > div { clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%); }
.mini-product h3 { text-transform: uppercase; font-weight: 500; }
.mini-product .heart { width: 30px; height: 30px; font-size: 16px; }

/* ---------------------------------------------------------------------
   Experience / benefits — hex badges with glow
   --------------------------------------------------------------------- */
.experience { background: linear-gradient(165deg, var(--graphite), #0c0e10); }
.experience-image::after { background: linear-gradient(90deg, rgba(12,14,16,.78), rgba(12,14,16,.08) 65%); }
.experience h2 { font-weight: 500; }
.benefits > div > span {
  display: inline-flex; align-items: center; justify-content: center;
  top: -4px; right: 0;
  width: 26px; height: 26px;
  border: 1px solid var(--amber);
  color: var(--amber-light);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.benefits svg { stroke: var(--amber-light); filter: drop-shadow(0 0 10px rgba(255,122,26,.25)); }
.benefits h3 { text-transform: uppercase; font-weight: 500; }
.benefits > div { transition: transform .4s var(--ease); }
.benefits > div:hover { transform: translateY(-5px); }
.benefits > div:hover svg { animation: glowPulse 1.3s ease-out; }

/* ---------------------------------------------------------------------
   Final CTA / payment card
   --------------------------------------------------------------------- */
.final-cta { background: linear-gradient(180deg, var(--stone), #cfc6ae); }
.payment-card { clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px); border-radius: 0; }
.trust-icon { border-radius: 0; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--graphite); }
.trust-icon svg { stroke: var(--amber-light); }
.pay-chip { border-radius: 0; clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px); }
.pay-chip:hover { border-color: var(--amber); transform: translateY(-2px); }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
footer { background: linear-gradient(180deg, var(--graphite), #0a0c0d); }
.footer-main h3 { color: var(--amber-light); font-family: var(--sans); }
.footer-main a:hover { color: var(--amber-light); }
.newsletter button { color: var(--amber-light); }

/* ---------------------------------------------------------------------
   Scroll reveal — staggered
   --------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.category-grid .category-card:nth-child(1) { transition-delay: 0s; }
.category-grid .category-card:nth-child(2) { transition-delay: .06s; }
.category-grid .category-card:nth-child(3) { transition-delay: .12s; }
.category-grid .category-card:nth-child(4) { transition-delay: .18s; }
.category-grid .category-card:nth-child(5) { transition-delay: .24s; }
.product-grid .product-card:nth-child(1) { transition-delay: 0s; }
.product-grid .product-card:nth-child(2) { transition-delay: .08s; }
.product-grid .product-card:nth-child(3) { transition-delay: .16s; }
.product-grid .product-card:nth-child(4) { transition-delay: .24s; }
.benefits > div:nth-child(1) { transition-delay: 0s; }
.benefits > div:nth-child(2) { transition-delay: .08s; }
.benefits > div:nth-child(3) { transition-delay: .16s; }
.benefits > div:nth-child(4) { transition-delay: .24s; }

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 760px) {
  .hero-content { border-left-width: 2px; padding-left: 18px; }
  .category-card, .product-image, .mini-product > div { clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
}
