/* Feral Clothing - Speed, Layout, Mobile UX, Folklore, HEX & Conversion Boosts */

/* 1. Desktop primary nav: prevent 2-3 line wrapping at 992px-1280px */
@media (min-width: 768px) {
  .fc-hrow { gap: 12px; }
  .fc-nav { flex-wrap: nowrap; gap: clamp(12px, 1.35vw, 22px); font-size: clamp(12.5px, 1.05vw, 14px); white-space: nowrap; }
  .fc-logo { font-size: clamp(24px, 2.3vw, 32px); }
}

/* 2. Desktop Shop-by-Mood bar: prevent right-edge clipping */
@media (min-width: 768px) {
  .fc-subnav nav.fc-wrap {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px clamp(11px, 1.35vw, 20px);
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: clamp(12.5px, 1.02vw, 14px);
    overflow: visible;
  }
}

/* 3. Search dropdown cleanly positioned */
.fc-search__form { top: calc(100% + 8px); z-index: 120; }

/* 4. Homepage Hero right-side cards: contain sticker artwork cleanly above caption pill */
.fc-hero__side { min-height: 440px; }
.fc-tile { min-height: 205px; }
.fc-tile--sticker { background: #23192b; }
.fc-tile--sticker img { object-fit: contain !important; object-position: center 12% !important; padding: 10px 14px 66px !important; }
.fc-tile span { padding: 10px 14px; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(4px); z-index: 2; }

/* 5. Mobile 390px header row: keep burger + logo + search + cart cleanly inside viewport & compact height */
@media (max-width: 767.98px) {
  .fc-promo { font-size: 11px; line-height: 1.25; }
  .fc-promo__row.fc-wrap { padding: 5px 10px; gap: 2px 8px; justify-content: center; }
  .fc-promo__ship { display: inline-flex !important; align-items: center; gap: 4px; }
  .fc-promo__welcome { font-size: 11px; }
  .fc-hd .fc-hrow.fc-wrap {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .fc-logo-h1, .fc-hrow > .fc-logo { min-width: 0; justify-self: center; }
  .fc-logo { font-size: 16.5px !important; gap: 5px; white-space: nowrap; }
  .fc-icons { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
  .fc-icons .header-block, .fc-cart { margin: 0 !important; padding: 0 !important; }
  .fc-cart .header-block__icon { width: 22px; height: 22px; }
  .fc-subnav nav.fc-wrap {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 7px 12px;
    gap: 14px;
    font-size: 13px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .fc-subnav nav.fc-wrap::-webkit-scrollbar { display: none; }
}

/* 6. Holiday (/28-holiday) Dark Yuletide Folklore button */
.fc-holiday-intro { margin: 0 0 14px; }
.fc-holiday-intro p { margin: 0 0 10px; }
.fc-btn--folklore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1d1522 !important;
  color: #f6f1e8 !important;
  border: 1.5px solid #c9a227 !important;
  border-radius: 999px;
  padding: 9px 20px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(29, 21, 34, 0.18);
}
.fc-btn--folklore:hover, .fc-btn--folklore:focus {
  background: #c9a227 !important;
  color: #1a1a1a !important;
  border-color: #c9a227 !important;
}

/* 7. HEX Era (/41) Shop HEX Apparel button contrast + Quick Gift-Type Filter Pills */
.fc-hexera-buy { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.fc-hexera-buy a.btn.fc-btn--hex-sub {
  background: #fffaf2 !important;
  color: #3a1030 !important;
  border: 2px solid #3a1030 !important;
  border-radius: 999px;
  padding: 0.52rem 1.15rem;
  font-weight: 800;
  text-decoration: none;
}
.fc-hexera-buy a.btn.fc-btn--hex-sub:hover,
.fc-hexera-buy a.btn.fc-btn--hex-sub:focus {
  background: #3a1030 !important;
  color: #f6f1e8 !important;
}
.fc-hex-quickfilters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 6px;
}
.fc-hex-qf {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1.5px solid #604061;
  background: #fffaf2;
  color: #252128 !important;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.fc-hex-qf:hover, .fc-hex-qf:focus, .fc-hex-qf.is-active {
  background: #604061;
  color: #f6f1e8 !important;
}

/* 8. Inline Apparel Size Guide button & modal */
.fc-sizeguide-trigger {
  margin-left: 12px;
  background: none;
  border: 0;
  padding: 2px 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--fc-plum, #7b4b94);
  text-decoration: underline;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
}
.fc-sizeguide-trigger:hover { color: var(--fc-night, #2b1f33); }
.fc-sg-table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-bottom: 16px; }
.fc-sg-table th, .fc-sg-table td { border: 1px solid var(--fc-line, #ddd3c2); padding: 7px 10px; text-align: center; }
.fc-sg-table th { background: var(--fc-cream, #efe7da); font-weight: 800; }

/* 9. Cart Free-Shipping ($40) & Bundle Perks Bar + 1-Click Impulse Add-Ons */
.fc-cart-perks {
  background: #fffaf2;
  border: 1.5px solid #ddd3c2;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.fc-cart-perks--unlocked {
  background: #eef6e8;
  border-color: #4f6146;
}
.fc-cart-perks__msg {
  font-size: 13.5px;
  line-height: 1.4;
  color: #1a1a1a !important;
  margin: 0 0 8px;
}
.fc-cart-perks__msg .fc-perks-b,
.fc-cart-perks__msg strong,
#blockcart-modal .fc-cart-perks__msg .fc-perks-b,
#blockcart-modal .fc-cart-perks__msg strong {
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-weight: 800 !important;
  color: #1a1a1a !important;
}
.fc-cart-perks--unlocked .fc-cart-perks__msg,
.fc-cart-perks--unlocked .fc-cart-perks__msg .fc-perks-b {
  margin-bottom: 0;
  font-weight: 700;
  color: #254d3c !important;
}
.fc-cart-perks__track {
  height: 8px;
  background: #e7dfd1;
  border-radius: 999px;
  overflow: hidden;
}
.fc-cart-perks__fill {
  height: 100%;
  background: linear-gradient(90deg, #7b4b94, #4f6146);
  border-radius: 999px;
  transition: width 0.25s ease;
}
.fc-cart-perks__sub {
  font-size: 12px;
  color: #5a4e63;
  margin: 6px 0 0;
}
.fc-cart-upsells {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #ddd3c2;
}
.fc-cart-upsells__hd {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5a4e63;
  margin: 0 0 8px;
}
.fc-cart-upsells__list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.fc-cart-upsell {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e6ded0;
  border-radius: 10px;
  padding: 6px 8px;
}
.fc-cart-upsell img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.fc-cart-upsell__info {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  line-height: 1.25;
}
.fc-cart-upsell__title {
  font-weight: 700;
  color: #1a1a1a;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fc-cart-upsell__price { color: #7b4b94; font-weight: 800; }
.fc-cart-upsell__btn {
  border: 1.5px solid #1a1a1a;
  background: #c6ff3d;
  color: #1a1a1a;
  font-size: 11.5px;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 10px;
  cursor: pointer;
  white-space: nowrap;
}
.fc-cart-upsell__btn:hover { background: #1a1a1a; color: #fff; }
.fc-cyber-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #2b1f33;
  color: #f6f1e8;
  border-radius: 10px;
  padding: 8px 12px;
  margin: 10px 0;
  font-size: 12.5px;
}
.fc-cyber-chip button {
  background: #c6ff3d;
  color: #1a1a1a;
  border: 0;
  border-radius: 999px;
  padding: 4px 12px;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}
/* Active HEX quick-filter high contrast */
.category__description a.fc-hex-qf.is-active, a.fc-hex-qf.is-active { background: #3a1030 !important; color: #ffffff !important; border-color: #c9a227 !important; }
