/* ============ Category Section ============ */
.category-section {
    background-image: linear-gradient(180deg,
            rgba(255, 255, 255, 1) 0,
            rgba(227, 239, 255, 1) 100%);
    width: 1920px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    margin: 0 auto;
}

.category-content {
    width: 1200px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

/* ============ Category Navigation ============ */
.category-nav {
    width: 150px;
    display: flex;
    flex-direction: column;
    margin-right: 24px;
}

.category-nav-active,
.category-nav-item {
    width: 150px;
    height: 42px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding-left: 16px;
    font-size: 14px;
    font-weight: normal;
    white-space: nowrap;
    line-height: 22px;
}

.category-nav-active {
    background-color: rgba(240, 240, 240, 1);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
}

.category-nav-active span {
    background-image: linear-gradient(93deg,
            rgba(77, 145, 255, 1) 0,
            rgba(172, 66, 255, 1) 34.999999%,
            rgba(255, 82, 82, 1) 76.999998%,
            rgba(255, 210, 39, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.category-nav-item {
    color: rgba(0, 0, 0, 1);
    margin-top: 10px;
    border-radius: 10px;
}

.category-nav-item:hover {
    background-color: rgba(240, 240, 240, 1);
}

/* ============ Products Area ============ */
.products-area {
    background-image: linear-gradient(180deg,
            rgba(255, 255, 255, 1) 0,
            rgba(242, 247, 255, 1) 100%);
    border-radius: 32px;
    width: 1026px;
    height: 628px;
    display: flex;
    flex-direction: row;
}

/* ============ Featured Card ============ */
.featured-card {
    background-color: rgba(239, 241, 246, 1);
    border-radius: 16px;
    position: relative;
    width: 350px;
    height: 580px;
    border: 1px solid rgba(237, 237, 237, 1);
    margin: 24px 0 0 24px;
    display: flex;
    flex-direction: column;
}

.featured-card:hover {
    background: #FFFFFF;
    box-shadow: 0px 0px 10px 0px rgba(143, 143, 143, 0.25);
    border-radius: 16px 16px 16px 16px;
}

.featured-icon {
    width: 40px;
    height: 40px;
    margin: 24px 0 0 24px;
    border-radius: 16px;
}

.featured-hot-bg {
    position: absolute;
    bottom: 0;
    right: 0;
}

.featured-info {
    width: 302px;
    height: 100px;
    margin: 16px 0 0 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.featured-name {
    width: 201px;
    height: 28px;
    overflow-wrap: break-word;
    color: rgba(0, 0, 0, 1);
    font-size: 20px;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    line-height: 28px;
}

.featured-desc {
    width: 302px;
    height: 56px;
    overflow-wrap: break-word;
    color: rgba(85, 85, 85, 1);
    font-size: 14px;
    font-weight: 300;
    text-align: left;
    line-height: 28px;
    margin-top: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============ Products Grid ============ */
.products-grid {
    margin: 24px 24px 24px 16px;
    display: grid;
    grid-template-columns: repeat(2, 298px);
    gap: 16px;
}

/* ============ Product Card ============ */
.product-card {
    background-color: rgba(255, 255, 255, 1);
    border-radius: 16px;
    width: 298px;
    height: 282px;
    border: 1px solid rgba(237, 237, 237, 1);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.product-card:hover {
    background: #FFFFFF;
    border-radius: 16px 16px 16px 16px;
    border: 1px solid #EDEDED;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.product-card-head {
    width: 266px;
    height: 95px;
    margin: 16px 0 0 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card-icon {
    width: 40px;
    height: 40px;
    background: url(https://lanhu-oss-2537-2.lanhuapp.com/FigmaDDSSlicePNG3ca2cbe061049349e48ca5dd87905bab.png) 100% no-repeat;
    background-size: 100% 100%;
    border-radius: 16px;
}

.product-card-info {
    width: 266px;
    height: 47px;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card-name {
    width: 160px;
    height: 22px;
    overflow-wrap: break-word;
    color: rgba(0, 0, 0, 1);
    font-size: 16px;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    line-height: 22px;
}

.product-card-desc {
    width: 266px;
    height: 17px;
    overflow-wrap: break-word;
    color: rgba(85, 85, 85, 1);
    font-size: 12px;
    font-weight: 300;
    text-align: left;
    white-space: nowrap;
    line-height: 17px;
    margin-top: 8px;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* ============ Product Tags (shared) ============ */
.product-tags {
    width: 266px;
    height: 66px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
}

.featured-card .product-tags {
    margin: 16px 0 0 24px;
}

.product-card .product-tags {
    margin: 8px 0 0 16px;
}

.product-tag {
    margin:0 8px 8px 0;
    background-image: linear-gradient(232deg,
            rgba(255, 213, 174, 1) 0,
            rgba(250, 236, 223, 1) 100%);
    border-radius: 4px;
    color: rgba(249, 53, 35, 1);
    font-size: 12px;
    font-weight: normal;
    text-align: left;
    white-space: nowrap;
    line-height: 17px;
    padding: 4px 4px 4px 4px;
    box-sizing: border-box;
}

/* ============ Product Price (shared) ============ */
.product-price {
    width: 120px;
    height: 28px;
    overflow-wrap: break-word;
    font-size: 0;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    line-height: 28px;
}

.featured-card .product-price {
    margin: 32px 0 0 24px;
}

.product-card .product-price {
    margin: 0 0 0 16px;
}

.price-value {
    color: rgba(0, 0, 0, 1);
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    line-height: 28px;
}

.price-unit {
    color: rgba(142, 142, 142, 1);
    font-size: 12px;
    font-weight: normal;
    text-align: center;
    line-height: 28px;
}

/* ============ View Button (shared) ============ */
.view-button {
    border-radius: 100px;
    height: 30px;
    border: 1px solid rgba(0, 0, 0, 0.949999988079071);
    width: 95px;
    color: rgba(0, 0, 0, 1);
    font-size: 14px;
    font-weight: 300;
    text-align: left;
    white-space: nowrap;
    line-height: 19px;
    padding: 6px 0 0 20px;
    box-sizing: border-box;
}

.featured-card .view-button {
    margin: 32px 0 237px 24px;
}

.product-card .view-button {
    margin: 16px 0 16px 16px;
}