/* =========================================
   MIRRORIAN — Product Card & Home Styles
   ========================================= */

/* ── Hero Section ── */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--off-white);
  padding-top: 70px; /* offset for navbar */
}

@media (min-width: 992px) {
  .hero {
    padding-top: 0px;
  }
}

.advanced-hero {
  background: var(--light-gray);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/static/img/banner/banner.webp');
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
  transform: scale(1.03);
  transition: transform 8s ease;
}

.hero:hover .hero-bg {
  transform: scale(1.0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgb(255 255 255 / 84%) 0%, rgb(60 60 60 / 82%) 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  width: 100%;
}

.hero-content-left {
  flex: 1;
  max-width: 500px;
  animation: heroFadeUp 1s ease 0.2s both;
  text-align: left;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
}

.hero-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Images Right side */
.hero-images-right {
  flex: 1;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  animation: heroFadeUp 1s ease 0.4s both;
}

.hero-img-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 240px;
}

.offset-col {
  margin-top: 80px;
}

.hero-img-box {
  width: 100%;
  border-radius: 120px 120px 10px 10px;
  overflow: hidden;
  box-shadow: var(--shadow-mid);
  border: 5px solid #3f3f3f;
  transition: 1s ease;
}

.img-tall {
  height: 320px;
}

.img-short {
  height: 220px;
  border-radius: 10px 10px 100px 100px;
}

.hero-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-img-box:hover img {
  transform: scale(1.08);
}
.hero-img-box:hover{
  transform: scale(1.08) rotate(10deg);
}

@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .hero-content-left {
    text-align: center;
    max-width: 100%;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-images-right {
    margin-top: 40px;
  }
}

@media (max-width: 500px) {
  .hero-img-col {
    width: 140px;
  }
  .img-tall { height: 200px; }
  .img-short { height: 140px; }
  .offset-col { margin-top: 40px; }
}

/* Mirror reflection effect on hero */
.hero-reflection {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, #848484, transparent);
  pointer-events: none;
}

/* ── Section Header ── */
.section-header {
  text-align: center;
  margin-bottom: 48px;
  padding-top: 80px;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

/* ── Category Selector ── */
.category-selector {
  padding: 40px 5% 0 5%;
}

.category-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar { display: none; }

.cat-tab {
  flex-shrink: 0;
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.cat-tab:hover {
  color: var(--text-primary);
}

.cat-tab.active {
  color: var(--text-primary);
  border-bottom-color: var(--text-primary);
}

/* ── Product Grid ── */
.products-section {
  padding: 48px 20px 80px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Medium screens: 3 columns */
@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
  }
  .products-section {
    padding: 48px 30px 80px;
  }
}

/* Large screens: 4 columns */
@media (min-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0% 3%;
  }
  .products-section {
    padding: 48px 4% 80px;
  }
}

/* ── Product Card ── */
.product-card {
  background: var(--white);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  /* border: 1px solid var(--border); */
  transition: var(--transition);
}

.product-card:hover {
  /* box-shadow: var(--shadow-mid); */
  z-index: 2;
}

.product-card-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--light-gray);
  border-radius: 30% 30% 10px 10px;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-gray);
}

.product-card-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--mid-gray);
}

/* Mirror-style reflection on card image */
.product-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(255,255,255,0.12), transparent);
  pointer-events: none;
}

.product-card-info {
  padding: 20px 20px 24px;
}

.product-card-category {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.product-card-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.product-card-price {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.product-card-size {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.product-card-action {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text-primary);
  color: var(--white);
  text-align: center;
  padding: 13px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card-action {
  transform: translateY(0);
}

/* ── Empty State ── */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  grid-column: 1 / -1;
}

.empty-state h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.empty-state p {
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 767px) {
  .hero-title {
    font-size: clamp(36px, 10vw, 64px);
  }

  .section-header {
    padding-top: 56px;
    margin-bottom: 32px;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
  .product-card-info {
    padding: 12px 12px 16px;
  }
  .product-card-category {
    font-size: 9px;
    margin-bottom: 4px;
  }
  .product-card-name {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .product-card-meta {
    margin-top: 8px;
  }
  .product-card-price {
    font-size: 12px;
  }
  .product-card-size {
    font-size: 10px;
  }
}
