/* =========================================
   6. CATEGORIES GRID
   ========================================= */
.categories {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(25% - 13.5px);
  grid-template-rows: 1fr;
  gap: 18px;
  padding: 24px 0;
  overflow-x: auto;
}
.categories::-webkit-scrollbar {
  display: none;
}
.categories.expanded {
  grid-template-rows: 1fr 1fr;
}
.category {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #181611, #11100e);
  border-radius: 11px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  cursor: pointer;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.category::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -40% -70%;
  background: linear-gradient(110deg, transparent 42%, rgba(255, 196, 0, 0.16) 50%, transparent 58%);
  transform: translateX(-55%);
  animation: categoryShine 5s ease-in-out infinite;
  pointer-events: none;
}

.category::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 22px rgba(217, 156, 46, 0.12);
  opacity: 0.4;
  animation: categoryGlow 2.8s ease-in-out infinite alternate;
  pointer-events: none;
}

.category > * {
  position: relative;
  z-index: 1;
}

.category:nth-child(2n)::before,
.category:nth-child(2n)::after {
  animation-delay: -1.4s;
}

.category:nth-child(3n)::before,
.category:nth-child(3n)::after {
  animation-delay: -2.8s;
}
.category:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(217, 156, 46, 0.24), 0 8px 24px rgba(0, 0, 0, 0.45);
}

.category:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-color: var(--gold);
}
.category i {
  font-style: normal;
  color: var(--gold);
  font-size: 27px;
  filter: drop-shadow(0 0 5px rgba(255, 196, 0, 0.45));
  animation: categoryIconGlow 2.2s ease-in-out infinite alternate;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.category-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255, 196, 0, 0.35));
  animation: categoryIconGlow 2.2s ease-in-out infinite alternate;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.category:hover i,
.category:hover .category-icon {
  animation: none;
  transform: scale(1.2) rotate(5deg);
  filter: drop-shadow(0 0 11px rgba(255, 196, 0, 0.8));
}
.category small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}
.category strong {
  font-size: 14px;
}

@keyframes categoryShine {
  0%, 55% { transform: translateX(-55%); }
  85%, 100% { transform: translateX(55%); }
}

@keyframes categoryGlow {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

@keyframes categoryIconGlow {
  from { filter: drop-shadow(0 0 3px rgba(255, 196, 0, 0.25)); }
  to { filter: drop-shadow(0 0 9px rgba(255, 196, 0, 0.7)); }
}

@media (prefers-reduced-motion: reduce) {
  .category::before,
  .category::after,
  .category i,
  .category-icon {
    animation: none;
  }
}

.shop-hero { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(30px, 7vw, 90px); padding: clamp(58px, 9vw, 105px) 0 65px; }
.shop-eyebrow { margin: 0 0 10px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: 2px; }
.shop-hero h1 { max-width: 760px; margin: 0 0 18px; font-size: clamp(44px, 7vw, 82px); line-height: 1.02; }
.shop-hero h1 span { color: var(--gold); }
.shop-hero > div > p:last-child { max-width: 650px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.shop-highlights { display: grid; gap: 12px; }
.shop-highlights div { padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(135deg, #18140f, #100f0d); }
.shop-highlights strong, .shop-highlights span { display: block; }.shop-highlights strong { color: #f0cb82; font-size: 24px; }.shop-highlights span { margin-top: 4px; color: var(--muted); }
.shop-tabs { margin: 0 0 22px; padding-bottom: 8px; }
.shop-confidence { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin: 20px 0 70px; }
.shop-confidence article { display: flex; gap: 14px; padding: 23px; border: 1px solid #392f22; border-radius: 14px; background: #14110e; }
.shop-confidence article > span { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; background: rgba(217, 156, 46, .12); color: var(--gold); }
.shop-confidence h2 { margin: 0 0 7px; font-size: 17px; }.shop-confidence p { margin: 0; color: var(--muted); line-height: 1.55; }
@media (max-width: 800px) { .shop-hero { grid-template-columns: 1fr; }.shop-highlights { grid-template-columns: repeat(3, 1fr); }.shop-confidence { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .shop-hero { padding-top: 46px; }.shop-highlights { grid-template-columns: 1fr; }.shop-hero > div > p:last-child { font-size: 16px; } }
