/* ==========================================================================
   /styles — Styles landing page + /styles/{slug} individual style pages
   Black/lime card system, compact contained layout
   ========================================================================== */

/* ---------------------------------------------------------------------------
   Shared Components
   --------------------------------------------------------------------------- */
.sty-btn-lime {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    height: 42px;
    border-radius: 21px;
    background: var(--brand-lime, #ccea4a);
    color: #000;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: opacity 0.15s;
}
.sty-btn-lime:hover { opacity: 0.9; text-decoration: none; color: #000; }

.sty-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    height: 42px;
    border-radius: 21px;
    background: transparent;
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.3);
    transition: border-color 0.15s;
}
.sty-btn-outline:hover { border-color: rgba(255,255,255,0.6); color: #fff; text-decoration: none; }

.sty-btn-outline-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    height: 42px;
    border-radius: 21px;
    background: transparent;
    color: #000;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    border: 1.5px solid #d1d5db;
    transition: border-color 0.15s;
}
.sty-btn-outline-dark:hover { border-color: #000; color: #000; text-decoration: none; }

.sty-eyebrow {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.sty-prose {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #374151;
    margin-bottom: 1rem;
}
.sty-prose strong { color: #000; }

/* ---------------------------------------------------------------------------
   Landing Page — /styles
   --------------------------------------------------------------------------- */

/* Hero */
.sty-hero {
    background: #000;
    border-radius: 20px;
    padding: 56px 32px 48px;
    text-align: center;
    max-width: 960px;
    margin: 1.5rem auto 0;
    color: #fff;
}
.sty-hero h1 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}
.sty-hero p {
    color: #9ca3af;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto 1.5rem;
}
.sty-hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section wrappers */
.sty-section {
    max-width: 820px;
    margin: 0 auto;
    padding: 2.5rem 1rem 0;
}
.sty-section h2 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
}

.sty-section-center {
    max-width: 960px;
    margin: 0 auto;
    padding: 2.5rem 1rem 0;
    text-align: center;
}
.sty-section-center h2 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.25rem;
}
.sty-section-center > p {
    color: #6b7280;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

/* Style Cards Grid */
.sty-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem;
}
@media (max-width: 991px) {
    .sty-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .sty-cards-grid { grid-template-columns: 1fr; }
}

.sty-style-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}
.sty-style-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    text-decoration: none;
}

.sty-style-card__img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f3f4f6;
}
.sty-style-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s;
}
.sty-style-card:hover .sty-style-card__img img { transform: scale(1.05); }

.sty-style-card__body {
    padding: 14px 16px;
}
.sty-style-card__body h3 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 4px;
}
.sty-style-card__meta {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    color: #6b7280;
}

/* Promo grid */
.sty-promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem;
}
@media (max-width: 768px) {
    .sty-promo-grid { grid-template-columns: 1fr; }
}

.sty-promo-card {
    border-radius: 16px;
    padding: 24px;
}
.sty-promo-card h3 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.sty-promo-card p {
    font-size: 0.8125rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.sty-promo-card--dark {
    background: #000;
    color: #fff;
}
.sty-promo-card--dark h3 { color: #fff; }
.sty-promo-card--dark p { color: #9ca3af; }
.sty-promo-card--lime {
    background: var(--brand-lime, #ccea4a);
    color: #000;
}
.sty-promo-card--lime h3 { color: #000; }
.sty-promo-card--lime p { color: #374151; }

.sty-promo-link {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--brand-lime, #ccea4a);
    text-decoration: none;
}
.sty-promo-link:hover { opacity: 0.85; text-decoration: none; }
.sty-promo-link--dark { color: #000; }
.sty-promo-link--dark:hover { color: #374151; }

/* CTA card */
.sty-cta {
    background: #000;
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    max-width: 960px;
    margin: 2.5rem auto 0;
}
.sty-cta h2 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}
.sty-cta p {
    color: #9ca3af;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

/* ---------------------------------------------------------------------------
   Individual Style Page — /styles/{slug}
   --------------------------------------------------------------------------- */

/* Detail Hero */
.sty-detail-hero {
    max-width: 960px;
    margin: 1.5rem auto 0;
    padding: 0 0 2rem;
}

.sty-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    margin-bottom: 1.25rem;
}
.sty-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
}
.sty-breadcrumb a:hover { color: #000; text-decoration: none; }
.sty-breadcrumb span { color: #d1d5db; }
.sty-breadcrumb span:last-child { color: #000; font-weight: 600; }

.sty-detail-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}
@media (max-width: 768px) {
    .sty-detail-hero__grid { grid-template-columns: 1fr; }
}

.sty-badge {
    display: inline-block;
    background: #000;
    color: var(--brand-lime, #ccea4a);
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.sty-detail-hero__text h1 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}
@media (max-width: 767px) {
    .sty-detail-hero__text h1 { font-size: 1.5rem; }
}

.sty-detail-subtitle {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.sty-detail-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.sty-detail-stat {
    display: flex;
    flex-direction: column;
}
.sty-detail-stat__value {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
}
.sty-detail-stat__label {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

/* Showcase image */
.sty-showcase-img {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.sty-showcase-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content section — fallback for DB description */
.sty-content-section {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 1rem 2rem;
}
.sty-content-body {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #374151;
}
.sty-content-body h2 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}
.sty-content-body h3 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #000;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.sty-content-body p { margin-bottom: 0.75rem; }
.sty-content-body strong { color: #000; }
.sty-content-body a { color: #000; text-decoration: underline; }
.sty-content-body a:hover { color: var(--brand-lime-dark, #558b2f); }
.sty-content-body ul, .sty-content-body ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.sty-content-body li { margin-bottom: 0.25rem; }

/* ---------------------------------------------------------------------------
   Bento SEO Content — full-width card grid
   --------------------------------------------------------------------------- */
.sty-bento {
    padding: 2rem 0 0;
}
.sty-bento__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 768px) {
    .sty-bento__grid { grid-template-columns: 1fr; }
}

/* Card base */
.sty-bento__card {
    border-radius: 16px;
    padding: 32px;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #374151;
    transition: transform 0.2s, box-shadow 0.2s;
}
.sty-bento__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* Card variants */
.sty-bento__card--origin {
    grid-column: 1 / -1;
    background: #000;
    color: #d1d5db;
}
.sty-bento__card--origin p { color: #9ca3af; }
.sty-bento__card--origin strong { color: #fff; }

.sty-bento__card--why {
    background: #fff;
    border: 1px solid #e5e7eb;
}

.sty-bento__card--best {
    background: var(--brand-lime, #ccea4a);
    color: #1a1a1a;
}
.sty-bento__card--best strong { color: #000; }

.sty-bento__card--tips {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

/* Full-span variant */
.sty-bento__card--full {
    grid-column: 1 / -1;
}

/* Card headings */
.sty-bento__card h2 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1rem;
}
.sty-bento__card--origin h2 { color: #fff; }
.sty-bento__card--why h2 { color: #000; }
.sty-bento__card--best h2 { color: #000; }
.sty-bento__card--tips h2 { color: #000; }

/* Eyebrow label */
.sty-bento__eyebrow {
    display: inline-block;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.sty-bento__card--origin .sty-bento__eyebrow {
    background: rgba(204,234,74,0.15);
    color: var(--brand-lime, #ccea4a);
}
.sty-bento__card--why .sty-bento__eyebrow {
    background: #f3f4f6;
    color: #6b7280;
}
.sty-bento__card--best .sty-bento__eyebrow {
    background: rgba(0,0,0,0.08);
    color: #000;
}
.sty-bento__card--tips .sty-bento__eyebrow {
    background: #000;
    color: var(--brand-lime, #ccea4a);
}

/* Bento list items */
.sty-bento__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.sty-bento__list li {
    position: relative;
    padding-left: 28px;
}
.sty-bento__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    flex-shrink: 0;
}
.sty-bento__card--why .sty-bento__list li::before {
    background: var(--brand-lime, #ccea4a);
}
.sty-bento__card--best .sty-bento__list li::before {
    background: #000;
    border-radius: 50%;
}
.sty-bento__card--tips .sty-bento__list li::before {
    background: var(--brand-lime, #ccea4a);
    border-radius: 3px;
    width: 6px;
    height: 6px;
    top: 9px;
    left: 4px;
    box-shadow: 0 0 0 4px rgba(204,234,74,0.2);
}

/* Prose inside origin card */
.sty-bento__card--origin p {
    margin-bottom: 0.75rem;
    line-height: 1.75;
}

/* List item strong text */
.sty-bento__list li strong {
    display: block;
    font-size: 0.9375rem;
    margin-bottom: 2px;
}
.sty-bento__card--why .sty-bento__list li strong { color: #000; }
.sty-bento__card--tips .sty-bento__list li strong { color: #000; }

/* Packs section */
.sty-packs-section {
    padding: 2.5rem 0 2rem;
    background: #fafafa;
}
.sty-packs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}
.sty-packs-header h2 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    margin: 0;
}
.sty-packs-count {
    font-size: 0.8125rem;
    color: #6b7280;
    font-weight: 500;
    background: #e5e7eb;
    padding: 4px 14px;
    border-radius: 20px;
}

/* Pack grid (reused from old styles.css) */
.style-pack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 1199px) {
    .style-pack-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
    .style-pack-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .style-pack-grid { grid-template-columns: 1fr; gap: 16px; }
}
