/* ==========================================================================
   COMPONENT: Accessories Highlight (partials/acc_highlight.php)
   Light Theme - High-Contrast Luxury Grid
   ========================================================================== */

.acc {
  background: var(--bg2);
}

.accg {
  align-items: center;
  gap: 64px;
}

.acc-img {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ln);
  position: relative;
  overflow: hidden;
  background: var(--soft);
}

.acc-img .bd {
  top: 18px;
  left: 18px;
}

/* Category tiles: photo cards with crisp overlay and typography */
.tiles {
  gap: 22px;
}

.tile {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  isolation: isolate;
  background: var(--soft);
  border: 1px solid var(--ln);
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s, border-color 0.3s;
}

.tile .im {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}

.tile .im img {
  filter: brightness(0.9) contrast(1.05);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 11, 14, 0.05) 25%, rgba(10, 11, 14, 0.85) 100%);
  transition: background 0.3s;
}

.tile::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.35s ease;
  z-index: 3;
}

.tile:hover::after {
  width: 100%;
}

.tile:hover {
  transform: translateY(-6px);
  border-color: #0F1117;
  box-shadow: 0 16px 36px rgba(11, 12, 19, 0.16);
}

.tile:hover .im img {
  transform: scale(1.08);
}

.tile-b {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 24px 20px;
  color: #FFFFFF;
}

.tile-b h3 {
  color: #FFFFFF;
  font-size: 1.35rem;
  margin-bottom: 0.25em;
  font-family: var(--font-head);
}

.tile-b p {
  margin: 0;
  font-size: 0.86rem;
  color: #E2E8F0;
  line-height: 1.4;
  padding-right: 36px;
}

.tile-b::after {
  content: "→";
  position: absolute;
  right: 18px;
  bottom: 22px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
  font-weight: 700;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.tile:hover .tile-b::after {
  background: #FFFFFF;
  color: #0F1117;
  transform: translateX(4px);
}

@media (max-width: 1000px) {
  .accg { gap: 36px; }
}

@media (max-width: 560px) {
  .accg { gap: 24px; }
  .acc-txt h2 { font-size: 1.42rem; line-height: 1.22; margin-bottom: 8px; }
  .acc-txt p { font-size: 0.88rem; line-height: 1.5; margin-bottom: 14px; }
  .acc-txt .row { flex-direction: row; gap: 8px; }
  .acc-txt .row .btn { width: auto; height: 38px; padding: 0 16px; font-size: 0.82rem; }
  .tiles { gap: 10px; }
  .tile { aspect-ratio: 1 / 1; border-radius: var(--radius-sm); }
  .tile-b { padding: 12px 10px; }
  .tile-b h3 { font-size: 0.92rem; line-height: 1.2; margin: 0; }
  .tile-b p { display: none; }
  .tile-b::after { display: none; }
}
