/* =============================================
   SELECT CHOICE SHOP — SHARED STYLES
   Signature motif: the "cut-corner tag" frame,
   echoing a hand-attached price tag on every
   product, category, and hero image.
   ============================================= */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

html,
body {
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}


/* HEADER */
#site-header.is-scrolled {
  background-color: #FBF8F2;
  border-bottom-color: rgba(33, 30, 27, 0.08);
  box-shadow: 0 4px 24px rgba(33, 30, 27, 0.05);
}

.nav-link {
  position: relative;
  color: rgba(33, 30, 27, 0.7);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #211E1B;
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: #A8532E;
  border-radius: 2px;
}

/* EYEBROW LABEL */
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A8532E;
}

.link-underline {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(168, 83, 46, 0.4);
}

.link-underline:hover {
  text-decoration-color: #A8532E;
}

/* TAG CHIP (hero eyebrow pill) */
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #FBF8F2;
  border: 1px dashed rgba(166, 128, 61, 0.5);
  color: #29402F;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}

.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #A8532E;
  display: inline-block;
}

/* SIGNATURE: CUT-CORNER TAG FRAME */
.tag-image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 92% 100%, 0% 100%);
  isolation: isolate;
}

.tag-image-frame::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 34px;
  height: 34px;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 70%);
  clip-path: polygon(100% 0%, 100% 60%, 60% 0%);
  pointer-events: none;
}

.hero-float-tag {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: #FBF8F2;
  border: 1px solid rgba(33, 30, 27, 0.08);
  box-shadow: 0 10px 30px rgba(33, 30, 27, 0.12);
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
  transform: rotate(-3deg);
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #29402F;
  color: #FBF8F2;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: #1D2E22;
  transform: translateY(-2px);
}

.btn-primary:focus-visible {
  outline: 2px solid #A8532E;
  outline-offset: 2px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: #211E1B;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: 1.5px solid rgba(33, 30, 27, 0.2);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.btn-secondary:hover {
  border-color: #29402F;
  background: rgba(41, 64, 47, 0.05);
}

.btn-secondary:focus-visible {
  outline: 2px solid #A8532E;
  outline-offset: 2px;
}

.btn-secondary-inverse {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: #FBF8F2;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: 1.5px solid rgba(251, 248, 242, 0.35);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.btn-secondary-inverse:hover {
  border-color: #FBF8F2;
  background: rgba(251, 248, 242, 0.08);
}

/* CARDS */
.category-card,
.product-card {
  display: block;
}

.feature-card {
  background: #FBF8F2;
  border: 1px solid rgba(33, 30, 27, 0.07);
  border-radius: 16px;
  padding: 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(33, 30, 27, 0.08);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(41, 64, 47, 0.08);
  color: #29402F;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* PROCESS STEPS */
.process-step {
  border-top: 2px solid rgba(166, 128, 61, 0.35);
  padding-top: 1.5rem;
}

.process-number {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: #A6803D;
}

/* FILTER PILLS & PAGINATION (Shop page) */
.filter-pill {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(33, 30, 27, 0.15);
  color: rgba(33, 30, 27, 0.65);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filter-pill:hover {
  border-color: #29402F;
  color: #211E1B;
}

.filter-pill.is-active {
  background: #29402F;
  border-color: #29402F;
  color: #FBF8F2;
}

.pagination-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(33, 30, 27, 0.15);
}

.pagination-btn.is-active {
  background: #29402F;
  color: #FBF8F2;
  border-color: #29402F;
}

/* ADD TO CART BUTTON */
.add-to-cart-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #29402F;
  color: #FBF8F2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.add-to-cart-btn:hover {
  background: #A8532E;
  transform: scale(1.08);
}

.add-to-cart-btn:focus-visible {
  outline: 2px solid #A8532E;
  outline-offset: 2px;
}

/* MISC */
::selection {
  background: #A8532E;
  color: #FBF8F2;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}