/* =============================================
   OSEN FACTORY – Category Page Styles
   ============================================= */

/* HERO */
.cat-hero {
  position: relative;
  padding: 160px 48px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 380px;
}
.cat-hero-ring {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}
.cat-hero-ring::before {
  content: '';
  position: absolute;
  inset: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
}
.cat-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.breadcrumb {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
  transition: color 0.3s;
}
.breadcrumb:hover { color: #fff; }
body.ar .breadcrumb { letter-spacing: 0; }
.cat-icon {
  font-size: 72px;
  margin-bottom: 16px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
  animation: floatIcon 3s ease-in-out infinite;
}
@keyframes floatIcon {
  0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)}
}
.cat-hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 300;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.cat-arabic {
  font-family: 'Noto Naskh Arabic', serif;
  font-size: 20px;
  color: rgba(255,255,255,0.6);
}

/* CATEGORY NAV BAR */
.cat-nav-bar {
  background: var(--dark2);
  border-bottom: 1px solid rgba(201,169,110,0.15);
  position: sticky;
  top: 60px;
  z-index: 100;
  overflow-x: auto;
}
.cat-nav-bar::-webkit-scrollbar { height: 3px; }
.cat-nav-bar::-webkit-scrollbar-thumb { background: var(--gold); }
.cat-nav-inner {
  display: flex;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  gap: 0;
  white-space: nowrap;
}
.cat-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
  white-space: nowrap;
}
.cat-nav-item:hover { color: var(--gold); }
.cat-nav-item.active { color: var(--gold); border-bottom-color: var(--gold); }

/* PRODUCTS SECTION */
.cat-products {
  padding: 80px 48px;
  background: var(--cream);
  min-height: 400px;
}
.cat-products-inner { max-width: 1280px; margin: 0 auto; }

/* PRODUCT GRID */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* PRODUCT CARD */
.prod-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.prod-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.13);
}
.prod-img-wrap { position: relative; overflow: hidden; }
.prod-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.prod-card:hover .prod-img { transform: scale(1.05); }
.prod-img-placeholder {
  width: 100%;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.3));
  transition: transform 0.5s ease;
}
.prod-card:hover .prod-img-placeholder { transform: scale(1.05); }
.prod-img-placeholder span { font-size: 56px; }

.prod-body {
  padding: 24px;
}
.prod-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 2px;
  line-height: 1.2;
}
.prod-name-ar {
  font-family: 'Noto Naskh Arabic', serif;
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 10px;
}
.prod-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 20px;
}
.prod-btn {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 2px;
  font-weight: 500;
  transition: all 0.3s;
}
.prod-btn:hover { background: var(--gold); color: var(--dark); }

/* EMPTY STATE */
.empty-state {
  text-align: center;
  padding: 100px 20px;
  color: var(--text-light);
}
.empty-icon { font-size: 72px; margin-bottom: 20px; opacity: 0.4; }
.empty-state h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--dark);
  margin-bottom: 10px;
}
.empty-state p { font-size: 14px; }

/* CTA */
.cat-cta {
  background: var(--dark);
  padding: 100px 48px;
}
.cat-cta-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.cat-cta-inner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  color: #fff;
  margin-bottom: 16px;
}
.cat-cta-inner p {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  line-height: 1.85;
  margin-bottom: 36px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-products { padding: 60px 32px; }
}
@media (max-width: 640px) {
  .cat-hero { padding: 120px 24px 60px; }
  .cat-grid { grid-template-columns: 1fr; gap: 20px; }
  .cat-products { padding: 48px 20px; }
  .cat-cta { padding: 72px 24px; }
  .cat-nav-inner { padding: 0 16px; }
}
