/* Product Tag Archive Styles - Mobile First */
.product-tag-archive {
    background: var(--bg-dark, #0d1117);
    color: var(--text-light, #f5f5f5);
    min-height: 100vh;
}

.archive-header {
    background: linear-gradient(135deg, var(--primary-dark, #1a1a1a), var(--bg-dark, #0d1117));
    padding: 3rem 0 2rem;
    text-align: center;
    position: relative;
}

.archive-header::before {
    content: '#';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20rem;
    color: rgba(186, 173, 106, 0.1);
    z-index: 1;
    pointer-events: none;
}

.archive-header-content {
    position: relative;
    z-index: 2;
}

.archive-title {
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--primary-gold, #baad6a);
    margin-bottom: 1rem;
    font-weight: 700;
}

.archive-title span {
    color: var(--text-light, #f5f5f5);
}

.archive-description {
    font-size: 1.2rem;
    color: var(--text-light, #f5f5f5);
    opacity: 0.9;
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.archive-meta {
    font-size: 1rem;
    color: var(--primary-gold, #baad6a);
    opacity: 0.8;
}

.products-grid-section {
    padding: 3rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.product-card {
    background: rgba(26, 26, 26, 0.8);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(186, 173, 106, 0.2);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(186, 173, 106, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 26, 0.5);
    color: var(--text-light, #f5f5f5);
    opacity: 0.7;
}

.product-tags {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.tag-label {
    background: rgba(186, 173, 106, 0.9);
    color: var(--primary-dark, #1a1a1a);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: monospace;
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    margin-bottom: 1rem;
}

.product-title a {
    color: var(--primary-gold, #baad6a);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: var(--text-light, #f5f5f5);
}

.product-excerpt {
    color: var(--text-light, #f5f5f5);
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-category {
    font-size: 0.9rem;
    color: var(--text-light, #f5f5f5);
    margin-bottom: 1.5rem;
}

.product-category strong {
    color: var(--primary-gold, #baad6a);
}

.product-actions {
    margin-top: auto;
}

.btn-view-product {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(45deg, var(--primary-gold, #baad6a), #d4c574);
    color: var(--primary-dark, #1a1a1a);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-view-product:hover {
    background: linear-gradient(45deg, #d4c574, var(--primary-gold, #baad6a));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(186, 173, 106, 0.3);
}

.no-products {
    text-align: center;
    padding: 4rem 2rem;
}

.no-products h2 {
    color: var(--primary-gold, #baad6a);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.no-products p {
    color: var(--text-light, #f5f5f5);
    opacity: 0.8;
    margin-bottom: 2rem;
}

.btn-back {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(186, 173, 106, 0.2);
    color: var(--primary-gold, #baad6a);
    text-decoration: none;
    border-radius: 25px;
    border: 2px solid var(--primary-gold, #baad6a);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: var(--primary-gold, #baad6a);
    color: var(--primary-dark, #1a1a1a);
}

.archive-pagination {
    margin-top: 3rem;
    text-align: center;
}

.pagination {
    display: inline-flex;
    gap: 0.5rem;
}

.page-numbers {
    padding: 0.75rem 1rem;
    background: rgba(26, 26, 26, 0.8);
    color: var(--text-light, #f5f5f5);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--primary-gold, #baad6a);
    color: var(--primary-dark, #1a1a1a);
}

/* Tablet */
@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .product-tags {
        flex-direction: row;
        top: 1rem;
        left: 1rem;
        right: auto;
        align-items: flex-start;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }

    .archive-header {
        padding: 4rem 0 3rem;
    }

    .products-grid-section {
        padding: 4rem 0;
    }

    .archive-header::before {
        font-size: 25rem;
    }
}