/* ===================================
   PRODUCT CATALOG PAGE
   =================================== */

.product-catalog-page {
    /* Let .hero-wrapper provide the orange/blue stripe background */
    background: transparent;
    min-height: 100vh;
}

/* Fixed navbar is overlaying the top: push the hero content below it */
.product-catalog-hero {
    padding-top: 120px; /* navbar min-height is ~80px */
}



.product-catalog-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: var(--text-dark, #1c0c4f);
    margin-bottom: var(--space-lg, 1.5rem);
}

.product-catalog-title-highlight {
    background: linear-gradient(to right, #EE6849 0%, #2066D8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.product-catalog-cta {
    background: var(--dark-navy, #130033);
    color: white;
    padding: 0.75rem 2rem;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.product-catalog-cta:hover {
    background: #0d2754;
    color: white;
    transform: translateY(-2px);
}

/* Filter Pills - иста grid големина, fade */
.product-catalog-filters {
    padding: 1rem 0 2rem;
    background-color: #fff;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 120px 120px;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 50%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 50%, transparent 100%);
}

.product-filter-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.product-filter-pill {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid #dee2e6;
    background: white;
    color: var(--text-dark, #1c0c4f);
    cursor: pointer;
    transition: all 0.25s ease;
}

.product-filter-pill:hover {
    border-color: var(--dark-navy, #123773);
    color: var(--dark-navy, #123773);
}

.product-filter-pill.active {
    background: var(--dark-navy, #123773);
    border-color: var(--dark-navy, #123773);
    color: white;
}

/* Product Grid */
.product-catalog-grid-section {
    padding: 0 0 4rem;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
}

/* Последната видлива картичка центрирана кога е сама во ред */
@media (min-width: 992px) {
    .product-grid .product-card-wrapper.last-visible-alone-lg {
        margin-left: auto;
        margin-right: auto;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .product-grid .product-card-wrapper.last-visible-alone-md {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Product Cards - Gradient border #EE6849 → #3F83FF */
.product-card-wrapper {
    transition: opacity 0.3s ease;
}

.product-card-wrapper.hidden {
    display: none !important;
}

.product-card {
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #EE6849 0%, #3F83FF 100%) border-box;
    border: 2px solid transparent;
    border-radius: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.product-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f5f5f5;
    padding: 12px 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.product-card-body {
    padding: 20px 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.75rem;
    color: #000;
}

.product-card-description {
    font-size: 0.9rem;
    color: #4a4a4a;
    line-height: 1.55;
    margin-bottom: 1rem;
    flex: 1;
    text-align: center;
}

.product-card-btn {
    display: inline-block;
    text-align: center;
    background: #130033;
    color: white !important;
    padding: 0.45rem 1.1rem;
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    border-radius: 50px;
    transition: all 0.25s ease;
    border: none;
}

.product-card-btn:hover {
    background: #2a2a4a;
    color: white !important;
}

.product-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.product-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dark, #1c0c4f);
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 50px;
    text-decoration: none;
}

.product-tag:hover {
    border-color: #adb5bd;
    color: var(--text-dark, #1c0c4f);
}

/* Keep CTA + footer styling consistent with shared `style_webpage.css`.
   `product-catalog.css` should only style the catalog-specific grid/cards. */
