/* Horizontal Product Row Styles */
.horizontal-product-row {
    position: fixed;
    bottom: 90px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    padding: 6px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.horizontal-product-row-content {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.horizontal-product-row-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: #AEADAD;
    font-family: Outfit;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    position: absolute;
    left: 20px;
}

.horizontal-product-row-items {
    display: flex;
    gap: 16px;
    flex: 1;
    overflow-x: auto;
    padding-bottom: 5px;
}

.horizontal-product-row-item {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 200px;
    flex-shrink: 0;
}

.horizontal-product-row-image {
    width: 70px;
    height: 100px;
    background: #F6F4ED;
    flex-shrink: 0;
    overflow: hidden;
}

/* PNG background support */
.horizontal-product-row-image.is-png {
    background: #F6F4ED;
}

/* Dimension classes for horizontal row */
.horizontal-product-dimension-1-1 .horizontal-product-row-image {
    width: 70px;
    height: 100px;
}

.horizontal-product-dimension-1-2 .horizontal-product-row-image {
    width: 120px;
    height: 60px;
}

.horizontal-product-dimension-2-1 .horizontal-product-row-image {
    width: 155px;
    height: 100px;
}

.horizontal-product-dimension-2-2 .horizontal-product-row-image {
    width: 70px;
    height: 100px;
}

.horizontal-product-dimension-4-1 .horizontal-product-row-image {
    width: 240px;
    height: 60px;
}

.horizontal-product-row-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.horizontal-product-row-image.is-png img {
    object-fit: contain;
}

.horizontal-product-row-text {
    flex: 1;
    min-width: 0;
    max-width: 130px;
}

.horizontal-product-row-brand {
    color: #000;
    font-family: Outfit;
    font-size: 11px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 0.55px;
}

.horizontal-product-row-title {
    color: var(--Soft-Black, #2E2C2B);
    font-family: Outfit;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.horizontal-product-row-price {
    color: #000;
    font-family: Outfit;
    font-size: 11px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 0.55px;
}

.horizontal-product-row-close {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    z-index: 1000;
    pointer-events: auto;
}

.horizontal-product-row-close:hover {
    opacity: 1;
}

/* Mobile responsive for horizontal row */
@media (max-width: 768px) {
    
    .horizontal-product-row-item {
        min-width: 150px;
        gap: 10px;
    }
    
    .horizontal-product-row-image {
        width: 50px;
        height: 50px;
    }
    
    .horizontal-product-row-title {
        font-size: 12px;
    }
    
    .horizontal-product-row-brand,
    .horizontal-product-row-price {
        font-size: 10px;
    }
}
