/**
 * Nordnatur - Custom Styles
 *
 * IMPORTANT: Keep this file MINIMAL (<100 lines).
 * Most styling should use GeneratePress Global Styles + GenerateBlocks.
 * Only include brand-specific micro-interactions and elements not achievable via GP/GB.
 *
 * @package Nordnatur
 * @since 1.0.0
 */

/* ==========================================================================
   Product Cards - Hover Interactions
   ========================================================================== */

.nnt-product-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nnt-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(25, 35, 33, 0.08);
}

.nnt-product-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.nnt-product-card__title {
    transition: color 0.2s ease;
}

.nnt-product-card:hover .nnt-product-card__title {
    color: var(--accent);
}

/* ==========================================================================
   Recommended Products Section (Topic Pages)
   ========================================================================== */

.nnt-recommended-products {
    margin-top: var(--spacing-large, 3rem);
    padding-top: var(--spacing-medium, 2rem);
    border-top: 1px solid var(--base, #F3F1ED);
}

.nnt-recommended-products__intro {
    color: var(--contrast-3, #63756f);
    margin-bottom: var(--spacing-medium, 2rem);
}

.nnt-recommended-products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--spacing-medium, 1.5rem);
}

/* ==========================================================================
   Related Topics Section (Product Pages)
   ========================================================================== */

.nnt-related-topics {
    margin-top: var(--spacing-large, 3rem);
}

.nnt-related-topics__intro {
    color: var(--contrast-3, #63756f);
    margin-bottom: var(--spacing-medium, 2rem);
}

.nnt-related-topics__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nnt-related-topics__item {
    margin-bottom: var(--spacing-small, 1rem);
}

.nnt-related-topics__link {
    display: flex;
    gap: var(--spacing-small, 1rem);
    padding: var(--spacing-small, 1rem);
    background: var(--base-2, #FAF9F7);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease;
}

.nnt-related-topics__link:hover {
    background: var(--base, #F3F1ED);
}

.nnt-related-topics__image {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    overflow: hidden;
    border-radius: 4px;
}

.nnt-related-topics__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nnt-related-topics__topic-title {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    color: var(--contrast);
}

.nnt-related-topics__excerpt {
    margin: 0;
    font-size: 0.875rem;
    color: var(--contrast-3, #63756f);
}

/* ==========================================================================
   Fulfillment Info Badge
   ========================================================================== */

.nnt-fulfillment-info {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--base-2, #FAF9F7);
    border-radius: 4px;
    font-size: 0.875rem;
    color: var(--contrast-2, #3E4B47);
    margin-top: 1rem;
}

/* ==========================================================================
   Material Info Tab
   ========================================================================== */

.nnt-material-info__list {
    list-style: none;
    padding: 0;
}

.nnt-material-info__item a {
    color: var(--accent);
    text-decoration: none;
}

.nnt-material-info__item a:hover {
    text-decoration: underline;
}

.nnt-material-info__description {
    margin-top: 0.25rem;
    color: var(--contrast-3, #63756f);
    font-size: 0.875rem;
}


/**
 * ============================================================================
 * ADDITIONS FOR: nnt-custom.css
 * ============================================================================
 * 
 * Add these styles to the end of nnt-custom.css
 * These style the Theme-related content display shortcodes.
 * 
 * ============================================================================
 */

/* ==========================================================================
   Theme Related Content Sections
   ========================================================================== */

.nnt-theme-section {
    margin: var(--spacing-large, 3rem) 0;
}

.nnt-theme-section__title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-medium, 1.5rem);
    color: var(--contrast, #192321);
}

/* ==========================================================================
   Theme Grid Layout
   ========================================================================== */

.nnt-theme-grid {
    display: grid;
    gap: var(--spacing-medium, 1.5rem);
}

.nnt-theme-grid--2-col {
    grid-template-columns: repeat(2, 1fr);
}

.nnt-theme-grid--3-col {
    grid-template-columns: repeat(3, 1fr);
}

.nnt-theme-grid--4-col {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .nnt-theme-grid--4-col {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nnt-theme-grid--3-col,
    .nnt-theme-grid--4-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .nnt-theme-grid--2-col,
    .nnt-theme-grid--3-col,
    .nnt-theme-grid--4-col {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Theme Cards
   ========================================================================== */

.nnt-theme-card {
    background: var(--base-3, #ffffff);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nnt-theme-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(25, 35, 33, 0.08);
}

.nnt-theme-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.nnt-theme-card__image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.nnt-theme-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.nnt-theme-card:hover .nnt-theme-card__image img {
    transform: scale(1.05);
}

.nnt-theme-card__content {
    padding: var(--spacing-small, 1rem);
}

.nnt-theme-card__label {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent, #95427b);
    margin-bottom: 0.25rem;
}

.nnt-theme-card__title {
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
    color: var(--contrast, #192321);
    line-height: 1.3;
}

.nnt-theme-card:hover .nnt-theme-card__title {
    color: var(--accent, #95427b);
}

.nnt-theme-card__excerpt {
    font-size: 0.875rem;
    color: var(--contrast-3, #63756f);
    margin: 0;
    line-height: 1.5;
}

.nnt-theme-card__price {
    font-size: 0.875rem;
    color: var(--contrast-2, #3E4B47);
    font-weight: 600;
}

/* ==========================================================================
   Theme List Style (alternative to grid)
   ========================================================================== */

.nnt-theme-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nnt-theme-list__item {
    margin-bottom: var(--spacing-small, 1rem);
}

.nnt-theme-list__link {
    display: flex;
    gap: var(--spacing-small, 1rem);
    padding: var(--spacing-small, 1rem);
    background: var(--base-2, #FAF9F7);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease;
}

.nnt-theme-list__link:hover {
    background: var(--base, #F3F1ED);
}

.nnt-theme-list__image {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    overflow: hidden;
    border-radius: 4px;
}

.nnt-theme-list__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nnt-theme-list__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nnt-theme-list__title {
    font-weight: 600;
    color: var(--contrast, #192321);
    margin-bottom: 0.25rem;
}

.nnt-theme-list__link:hover .nnt-theme-list__title {
    color: var(--accent, #95427b);
}

.nnt-theme-list__excerpt {
    font-size: 0.875rem;
    color: var(--contrast-3, #63756f);
}

/* ==========================================================================
   Product-specific card adjustments
   ========================================================================== */

.nnt-theme-card--product .nnt-theme-card__image {
    aspect-ratio: 1/1;
    background: var(--base-2, #FAF9F7);
}

.nnt-theme-card--product .nnt-theme-card__content {
    text-align: center;
}

/* ==========================================================================
   Material-specific card adjustments
   ========================================================================== */

.nnt-theme-card--material .nnt-theme-card__image {
    aspect-ratio: 1/1;
}

/* ==========================================================================
   Project Cards
   ========================================================================== */

.nnt-theme-card--project .nnt-theme-card__image {
    aspect-ratio: 16/9;
}

.nnt-theme-card__meta {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--contrast-3, #63756f);
    margin-bottom: 0.25rem;
}

/* ==========================================================================
   Inquiry Form
   ========================================================================== */

.nnt-inquiry-form {
    max-width: 600px;
    margin: var(--spacing-medium, 2rem) 0;
}

.nnt-inquiry-form input[type="text"],
.nnt-inquiry-form input[type="email"],
.nnt-inquiry-form textarea,
.nnt-inquiry-form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--base, #F3F1ED);
    border-radius: 4px;
}

.nnt-inquiry-form textarea {
    min-height: 150px;
}