.homepage-main-layout {
    max-width: var(--container-width);
    margin: 30px auto 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
}

.product-column {
    position: relative;
}

.section-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.section-title-custom {
    font-size: 16px;
    font-weight: 800;
    color: #1a1a1a;
    text-transform: uppercase;
    margin: 0;
    position: relative;
    letter-spacing: 0.3px;
}

.section-title-custom::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.section-view-all-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: var(--transition-fast);
}

.section-view-all-link:hover {
    color: var(--primary-hover);
}

.section-view-all-link::after {
    content: '→';
    margin-left: 5px;
    font-size: 14px;
}

/* Slider and Navigation */
.product-slider-wrapper {
    position: relative;
}

.product-custom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    cursor: pointer;
    z-index: 5;
    transition: var(--transition-normal);
}

.slider-nav-btn:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.slider-nav-btn.prev-btn {
    left: -17px;
}

.slider-nav-btn.next-btn {
    right: -17px;
}

.slider-nav-btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Custom Product Card - Design Match */
.product-card-custom {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 14px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.product-card-custom:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 75, 145, 0.15);
}

.product-card-image-wrapper {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-md);
    margin-bottom: 12px;
    overflow: hidden;
}

.product-card-img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: var(--transition-normal);
}

.product-card-custom:hover .product-card-img {
    transform: scale(1.06);
}

/* Product Title */
.product-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #222222;
    margin: 0 0 6px 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card-custom:hover .product-card-title {
    color: var(--primary-color);
}

/* Rating Info */
.product-card-rating {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    gap: 4px;
}

.rating-stars {
    color: var(--rating-star);
    display: flex;
    gap: 1px;
}

.rating-stars svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.rating-stars svg.star-empty {
    fill: #ddd;
}

.rating-value {
    font-weight: 700;
    color: var(--text-color);
    font-size: 14px;
}

.rating-count {
    color: var(--text-light);
    font-size: 14px;
}

/* Product Price */
.product-card-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--price-color);
    margin-top: auto;
}
