/*==========================================================
  ANA Restaurant — Category archive / Store category listing — page-scoped rules

  Extracted verbatim from the inline <style> block of the approved static category-details.php (16-10-2026 version). Loaded only on /product-category/{slug}/.
  Source of truth: category-details.php (16-10-2026)
==========================================================*/

/* =========================================
   ANA CATEGORY DETAIL
========================================= */

.ana-category-detail-section {
    padding: 100px 0 120px;
    background: var(--primary-color);
}


/* =========================================
   SIDEBAR
========================================= */

.ana-category-sidebar {
    position: sticky;
    top: 140px;
    padding-right: 35px;
}

.sidebar-label {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color:var(--cream-dark);
    margin-bottom: 18px;
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 54px;
    line-height: 1;
    font-weight: 400;
    color:var(--cream-color);
    margin: 0 0 40px;
}


/* =========================================
   CATEGORY NAVIGATION
========================================= */

.category-sidebar-nav {
    display: flex;
    flex-direction: column;
    border-top:1px solid var(--cream-dark);
}

.category-sidebar-link {
	text-decoration:none;
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 17px 12px;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    background: transparent;
    color:var(--cream-dark);
    text-align: left;
    cursor: pointer;

    font-family: inherit;
    font-size: 15px;
    line-height: 1.35;

    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        padding-left 0.3s ease;
}

.category-sidebar-link .category-number {
    flex: 0 0 auto;
    font-size: 11px;
    letter-spacing: 1px;
    margin-top: 3px;
    opacity: 0.7;
}

.category-sidebar-link:hover {
    color: var(--cream-color);
    padding-left: 18px;
}

.category-sidebar-link.active {
    color: var(--cream-color);
    background: rgba(153, 32, 56, 0.06);
    padding-left: 18px;
    font-weight: 600;
}

.category-sidebar-link.active .category-number {
    opacity: 1;
}


/* =========================================
   RIGHT CONTENT
========================================= */

/* .ana-category-content {
    padding-left: 30px;
} */

.category-content-header {
    max-width: 850px;
    margin-bottom: 55px;
}

.content-category-number {
    display: block;
    color: var(--primary-color, #992038);
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.category-content-header h1 {
    margin: 0 0 20px;
    color: var(--primary-color, #992038);
    font-size: clamp(38px, 4vw, 62px);
    font-weight: 400;
    line-height: 1.08;
}

.category-content-header p {
    max-width: 680px;
    margin: 0;
    color: var(--blue-color, #52698b);
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================
   PRODUCT CARD
========================================= */

.ana-product-card {
    height: 100%;
}

.ana-product-card a {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.ana-product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #e2d8ca;
}

.ana-product-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;

    transition:
        transform 0.7s cubic-bezier(.2,.65,.3,1);
}

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

.ana-product-info {
    padding: 22px 0 5px;
}

.ana-product-info h3 {
    margin: 0 0 8px;
    color: var(--cream-color);
    font-size: 23px;
    font-weight: 400;
    line-height: 1.25;
}

.ana-product-info p {
    margin: 0 0 15px;
    color:var(--cream-dark);
    font-size: 14px;
    line-height: 1.55;
}

.product-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color:var(--cream-dark);
    font-size: 14px;
    font-weight: 600;
}

.product-arrow span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.ana-product-card:hover .product-arrow span {
    transform: translate(4px, -4px);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {

    .ana-category-detail-section {
        padding: 70px 0 90px;
    }

    .ana-category-sidebar {
        position: relative;
        top: auto;
        padding-right: 0;
        margin-bottom: 50px;
    }

    .sidebar-title {
        font-size: 46px;
        margin-bottom: 25px;
    }

    .category-sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        flex-wrap: nowrap;
        border-top: 0;
        gap: 8px;
        padding-bottom: 12px;

        scrollbar-width: none;
    }

    .category-sidebar-nav::-webkit-scrollbar {
        display: none;
    }

    .category-sidebar-link {
        flex: 0 0 auto;
        width: auto;
        min-width: max-content;

        border: 1px solid rgba(0, 0, 0, 0.15);
        padding: 12px 16px;
        background: transparent;
    }

    .category-sidebar-link:hover,
    .category-sidebar-link.active {
        padding-left: 16px;
    }

    .ana-category-content {
        padding-left: 0;
    }
}


@media (max-width: 575px) {

    .ana-category-detail-section {
        padding: 50px 0 70px;
    }

    .sidebar-title {
        font-size: 40px;
    }

    .category-content-header {
        margin-bottom: 35px;
    }

    .category-content-header h1 {
        font-size: 36px;
    }

    .category-content-header p {
        font-size: 14px;
    }

    .ana-product-info h3 {
        font-size: 20px;
    }
}
