/* ============================================================
   CATEGORIES.CSS — Product Categories, Benefits, Tiers Grids
   ============================================================ */

/* ---- ABOUT SECTION ---- */
#about-intro {
    padding: var(--section-py) 0;
    /* background: var(--bg); */
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.about-image-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--primary);
    padding: 1.25rem 1.5rem;
    text-align: center;
    min-width: 130px;
}

@media (max-width: 767px) {
    .about-image-badge {
        bottom: 1rem;
        right: 1rem;
    }
}

.about-image-badge .badge-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    display: block;
    line-height: 1;
}

.about-image-badge .badge-text {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.85);
    display: block;
    margin-top: 0.25rem;
}

.about-bullet-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1.5rem;
}

.about-bullet {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.about-bullet::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 2px;
    background: var(--primary);
}

/* ---- CATEGORIES SECTION ---- */
#categories-section {
    padding: var(--section-py) 0;
    /* background: var(--bg-secondary); */
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    grid-auto-flow: dense;
    gap: 1.2rem;
    margin-top: 2.5rem;
    align-items: stretch;
}

@media (max-width: 999px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .categories-grid {
        display: flex;
        flex-direction: column;
        gap: 1.1rem;
    }
}

.category-card {
    min-height: 0;
    height: 100%;
    width: 100%;
    background: var(--bg-card);
    text-align: center;
    transition: all var(--transition);
    cursor: default;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Only allow 2-span tall or wide, not large (2x2) */
.category-card.bento-tall {
    grid-row: span 2;
}

.category-card.bento-wide {
    grid-column: span 2;
}

.category-card:hover {
    border-color: var(--primary);
    background: rgba(240, 94, 14, 0.05);
    transform: translateY(-3px);
}

.category-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 0.85rem;
    background: rgba(240, 94, 14, 0.1);
    border: 1px solid rgba(240, 94, 14, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.category-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.category-card h3 {
    font-size: 0.82rem;
    font-weight: 800;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
}

/* Card image and overlay for bento grid */
.category-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.category-card-title-wrap {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
}
.category-card-title {
  background: rgba(24, 28, 36, 0.68); /* mild, modern dark */
  color: #fff;
  padding: 0.38em 0.9em 0.32em 0.9em;
  font-weight: 700;
  font-size: 0.92em;
  border-radius: 0 8px 0 0;
  margin: 0.5em 0 0.5em 0.5em;
  box-shadow: none;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.18;
  max-width: 92%;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  word-break: break-word;
}

/* ---- EMERGING SEGMENTS ---- */
#emerging-section {
    padding: var(--section-py) 0;
    background: var(--bg);
}

.emerging-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

@media (min-width: 600px) {
    .emerging-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) {
    .emerging-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.emerging-card {
    /* background: var(--bg-card); */
    border: 1px solid var(--border);
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.emerging-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.emerging-card:hover {
    border-color: var(--border-light);
}

.emerging-card:hover::after {
    transform: scaleX(1);
}

.emerging-card h3 {
    font-size: 0.92rem;
    font-family: var(--font-display);
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.emerging-card p {
    font-size: 0.855rem;
    color: var(--text-muted);
}

/* ---- BENEFITS SECTION ---- */
#benefits-section {
    padding: var(--section-py) 0;
    /* background: var(--bg-secondary); */
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

@media (min-width: 600px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-card {
    display: flex;
    gap: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 1.75rem;
    transition: all var(--transition);
}

.benefit-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
}

.benefit-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(240, 94, 14, 0.1);
    border: 1px solid rgba(240, 94, 14, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.benefit-body h3 {
    font-size: 0.92rem;
    font-weight: 800;
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
}

.benefit-body p {
    font-size: 0.86rem;
    color: var(--text-muted);
}